1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 08:17:58 +01:00

allow :noremap name abbreviations

This commit is contained in:
Doug Kearns
2007-07-22 11:44:10 +00:00
parent 6b87d71a7e
commit 873809b4d3
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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."
} }