From b5d9d28f2e7515247e8ec27fc21f232727512b5d Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Tue, 15 Mar 2016 11:05:05 +0800 Subject: Updated to handle Mac shortcut keys of "Cmd-Left" and "Cmd-Right" --- public/js/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index d780714d..92b5ae5d 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -47,7 +47,9 @@ var defaultExtraKeys = { cm.replaceSelection(spaces); } } - } + }, + "Cmd-Left": "goLineLeftSmart", + "Cmd-Right": "goLineRight" }; var idleTime = 300000; //5 mins -- cgit v1.2.3