1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-08 06:45:46 +01:00

Use real key bindings in MOW mode, and also restore the strange key passing behavior of yore. Closes issue #217.

This commit is contained in:
Kris Maglione
2010-12-28 21:55:30 -05:00
parent cd21743661
commit ca4b3a03c9
6 changed files with 100 additions and 135 deletions

View File

@@ -1222,11 +1222,6 @@ var Events = Module("events", {
};
},
mappings: function () {
// add the ":" mapping in all but insert mode mappings
mappings.add(modes.matchModes({ extended: false, input: false }),
[":"], "Enter command-line mode",
function () { commandline.open(":", "", modes.EX); });
mappings.add(modes.all,
["<C-z>"], "Temporarily ignore all " + config.appName + " key bindings",
function () { modes.push(modes.PASS_THROUGH); });
@@ -1242,7 +1237,7 @@ var Events = Module("events", {
mappings.add(modes.all,
["<Nop>"], "Do nothing",
function () { return; });
function () {});
// macros
mappings.add([modes.NORMAL, modes.TEXT_AREA, modes.PLAYER].filter(util.identity),