1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 00:57:59 +01:00

Get rid of absurd Map#route flag. Consolodate some constants.

This commit is contained in:
Kris Maglione
2011-01-18 17:35:57 -05:00
parent 3e95b19cb0
commit c78bb0f332
9 changed files with 52 additions and 50 deletions

View File

@@ -588,8 +588,10 @@ var Editor = Module("editor", {
mappings.add([modes.INSERT],
["<Space>", "<Return>"], "Expand insert mode abbreviation",
function () { editor.expandAbbreviation(modes.INSERT); },
{ route: true });
function () {
editor.expandAbbreviation(modes.INSERT);
return Events.PASS;
});
mappings.add([modes.INSERT],
["<C-]>", "<C-5>"], "Expand insert mode abbreviation",