mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 06:08:02 +01:00
allow :noremap name abbreviations
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<pre>
|
<pre>
|
||||||
2007-07-02:
|
2007-07-02:
|
||||||
* version ???
|
* version ???
|
||||||
|
* new :map, :noremap, :mapclear and :unmap commands
|
||||||
* :saveas finally works (by calmar)
|
* :saveas finally works (by calmar)
|
||||||
* Changed "|" to ", " as a url seperator in :open
|
* Changed "|" to ", " as a url seperator in :open
|
||||||
* Ctrl-^ mapping for selecting the alternate tab/buffer
|
* Ctrl-^ mapping for selecting the alternate tab/buffer
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ function Commands() //{{{
|
|||||||
}
|
}
|
||||||
));
|
));
|
||||||
// TODO: remove duplication in :map
|
// TODO: remove duplication in :map
|
||||||
addDefaultCommand(new Command(["noremap"],
|
addDefaultCommand(new Command(["no[remap]"],
|
||||||
// 0 args -> list all maps
|
// 0 args -> list all maps
|
||||||
// 1 arg -> list the maps starting with args
|
// 1 arg -> list the maps starting with args
|
||||||
// 2 args -> map arg1 to arg*
|
// 2 args -> map arg1 to arg*
|
||||||
@@ -665,7 +665,7 @@ function Commands() //{{{
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
usage: ["noremap {lhs} {rhs}", "noremap {lhs}", "noremap"],
|
usage: ["no[remap] {lhs} {rhs}", "no[remap] {lhs}", "no[remap]"],
|
||||||
short_help: "Map the key sequence {lhs} to {rhs}",
|
short_help: "Map the key sequence {lhs} to {rhs}",
|
||||||
help: "No remapping of the {rhs} is performed."
|
help: "No remapping of the {rhs} is performed."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user