mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 20:02:25 +01:00
merged the new mappings code, all glory goes to Doug!
This commit is contained in:
@@ -270,9 +270,8 @@ function get_help_completions(filter)/*{{{*/
|
||||
$_[1]
|
||||
];
|
||||
}));
|
||||
help_array = help_array.concat(g_mappings.map(function($_) {
|
||||
return [ $_[COMMANDS], $_[SHORTHELP] ];
|
||||
}));
|
||||
for (map in vimperator.mappings)
|
||||
help_array.push([map.commands, map.short_help])
|
||||
|
||||
if (!filter) return help_array.map(function($_) {
|
||||
return [$_[COMMANDS][0], $_[1]]; // unfiltered, use the first command
|
||||
|
||||
Reference in New Issue
Block a user