mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-14 21:03:34 +02: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 = "";
|
this.usage = "";
|
||||||
if (flags & vimperator.mappings.flags.COUNT)
|
if (flags & vimperator.mappings.flags.COUNT)
|
||||||
this.usage = "{count}";
|
this.usage = "{count}";
|
||||||
this.usage += this.commands;
|
this.usage += this.commands[0];
|
||||||
if (flags & vimperator.mappings.flags.ARGUMENT)
|
if (flags & vimperator.mappings.flags.ARGUMENT)
|
||||||
this.usage += " {arg}";
|
this.usage += " {arg}";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user