1
0
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:
Kris Maglione
2010-12-30 17:13:33 -05:00
parent 12cd63ff16
commit f3903dc3d2
2 changed files with 5 additions and 5 deletions

View File

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