mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 13:55:45 +01:00
Remove relict SEARCH_* modes. Hide unmappable QUOTE/PASS THROUGH/LINE modes.
This commit is contained in:
@@ -514,7 +514,8 @@ var Mappings = Module("mappings", {
|
||||
type: CommandOption.STRING,
|
||||
validator: function (value) Array.concat(value).every(findMode),
|
||||
completer: function () [[array.compact([mode.name.toLowerCase().replace(/_/g, "-"), mode.char]), mode.disp]
|
||||
for (mode in values(modes.all))],
|
||||
for (mode in values(modes.all))
|
||||
if (!mode.hidden)],
|
||||
};
|
||||
|
||||
function findMode(name) {
|
||||
|
||||
Reference in New Issue
Block a user