diff options
author | Cheng-Han, Wu | 2016-03-15 11:05:05 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-03-15 11:05:05 +0800 |
commit | b5d9d28f2e7515247e8ec27fc21f232727512b5d (patch) | |
tree | b78ae1a0cf42814fa9c84aae0b08ae7a42aaacb7 /public/js | |
parent | 25dd400708bebf107fb8840c627032d42f52117e (diff) |
Updated to handle Mac shortcut keys of "Cmd-Left" and "Cmd-Right"
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
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 |