From 6aaede1a2e15ed246bc75f76e5d74fb90e1c74ce Mon Sep 17 00:00:00 2001 From: nightwing Date: Sun, 22 Jun 2014 23:33:45 +0400 Subject: [PATCH] keep mac line movement keybindings (still overridden by jumptomatching) --- lib/ace/commands/default_commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/commands/default_commands.js b/lib/ace/commands/default_commands.js index 9d1720e3..b1c0b5f0 100644 --- a/lib/ace/commands/default_commands.js +++ b/lib/ace/commands/default_commands.js @@ -208,7 +208,7 @@ exports.commands = [{ readOnly: true }, { name: "golineup", - bindKey: bindKey("Up", "Up"), + bindKey: bindKey("Up", "Up|Ctrl-P"), exec: function(editor, args) { editor.navigateUp(args.times); }, multiSelectAction: "forEach", readOnly: true @@ -237,7 +237,7 @@ exports.commands = [{ readOnly: true }, { name: "golinedown", - bindKey: bindKey("Down", "Down"), + bindKey: bindKey("Down", "Down|Ctrl-N"), exec: function(editor, args) { editor.navigateDown(args.times); }, multiSelectAction: "forEach", scrollIntoView: "cursor",