From 08bfa14dd2fd1fa8c4c8c4ab7f8d9090a76560d3 Mon Sep 17 00:00:00 2001 From: Adam Jimenez Date: Thu, 19 Jun 2014 23:06:52 +0100 Subject: [PATCH] jumptomatching/ selecttomatching mac shortcut fixes #2007 --- lib/ace/commands/default_commands.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ace/commands/default_commands.js b/lib/ace/commands/default_commands.js index 77cdfc61..9d1720e3 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|Ctrl-P"), + bindKey: bindKey("Up", "Up"), 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|Ctrl-N"), + bindKey: bindKey("Down", "Down"), exec: function(editor, args) { editor.navigateDown(args.times); }, multiSelectAction: "forEach", scrollIntoView: "cursor", @@ -392,13 +392,13 @@ exports.commands = [{ readOnly: true }, { name: "jumptomatching", - bindKey: bindKey("Ctrl-P", "Ctrl-Shift-P"), + bindKey: bindKey("Ctrl-P", "Ctrl-P"), exec: function(editor) { editor.jumpToMatching(); }, multiSelectAction: "forEach", readOnly: true }, { name: "selecttomatching", - bindKey: bindKey("Ctrl-Shift-P", null), + bindKey: bindKey("Ctrl-Shift-P", "Ctrl-Shift-P"), exec: function(editor) { editor.jumpToMatching(true); }, multiSelectAction: "forEach", readOnly: true