diff --git a/content/editor.js b/content/editor.js index e3bfb3de..52c7408c 100644 --- a/content/editor.js +++ b/content/editor.js @@ -226,6 +226,12 @@ liberator.Editor = function () //{{{ addMotionMap("y"); // yank // insert mode mappings + liberator.mappings.add([liberator.modes.INSERT], + ["", "", "", "", "", ""], + "Keys are passed to " + liberator.config.hostApplication, + function () { return true; }, + { flags: liberator.Mappings.flags.ALLOW_EVENT_ROUTING }); + liberator.mappings.add(modes, [""], "Delete previous word", function () { liberator.editor.executeCommand("cmd_deleteWordBackward", 1); }); @@ -261,13 +267,13 @@ liberator.Editor = function () //{{{ [""], "Delete character to the right", function () { liberator.editor.executeCommand("cmd_deleteCharForward", 1); }); - liberator.mappings.add(modes, + /*liberator.mappings.add(modes, [""], "Move cursor to beginning of text field", function () { liberator.editor.executeCommand("cmd_moveTop", 1); }); liberator.mappings.add(modes, [""], "Move cursor to end of text field", - function () { liberator.editor.executeCommand("cmd_moveBottom", 1); }); + function () { liberator.editor.executeCommand("cmd_moveBottom", 1); });*/ liberator.mappings.add(modes, [""], "Insert clipboard/selection",