mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 19:14:12 +01:00
fix the mapping usage string to only show the primary command
This commit is contained in:
@@ -20,7 +20,7 @@ function Map(mode, cmds, act, extra_info)
|
||||
this.usage = "";
|
||||
if (flags & vimperator.mappings.flags.COUNT)
|
||||
this.usage = "{count}";
|
||||
this.usage += this.commands;
|
||||
this.usage += this.commands[0];
|
||||
if (flags & vimperator.mappings.flags.ARGUMENT)
|
||||
this.usage += " {arg}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user