diff options
author | Jonathan Duran | 2012-07-17 11:42:09 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-07-17 11:42:09 -0700 |
commit | b4b3e45d6684e77d361b4f8ca5be4889428320c5 (patch) | |
tree | 2156d9920ea1b7db49ed6460545fea7cda121bae /imports/codemirror/keymap/emacs.js | |
parent | 4a87ff575693509ac578d46af26fa137c0dc3f58 (diff) | |
parent | 4f737b24c19ddc02d20f9783b8b080fc6ef11142 (diff) | |
download | ninja-b4b3e45d6684e77d361b4f8ca5be4889428320c5.tar.gz |
Merge branch 'refs/heads/NINJA-master' into TimelineUber
Diffstat (limited to 'imports/codemirror/keymap/emacs.js')
-rw-r--r-- | imports/codemirror/keymap/emacs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/imports/codemirror/keymap/emacs.js b/imports/codemirror/keymap/emacs.js index 8fd3564e..2a57e2ff 100644 --- a/imports/codemirror/keymap/emacs.js +++ b/imports/codemirror/keymap/emacs.js | |||
@@ -18,12 +18,12 @@ | |||
18 | "Alt-Y": function(cm) {cm.replaceSelection(popFromRing());}, | 18 | "Alt-Y": function(cm) {cm.replaceSelection(popFromRing());}, |
19 | "Ctrl-/": "undo", "Shift-Ctrl--": "undo", "Shift-Alt-,": "goDocStart", "Shift-Alt-.": "goDocEnd", | 19 | "Ctrl-/": "undo", "Shift-Ctrl--": "undo", "Shift-Alt-,": "goDocStart", "Shift-Alt-.": "goDocEnd", |
20 | "Ctrl-S": "findNext", "Ctrl-R": "findPrev", "Ctrl-G": "clearSearch", "Shift-Alt-5": "replace", | 20 | "Ctrl-S": "findNext", "Ctrl-R": "findPrev", "Ctrl-G": "clearSearch", "Shift-Alt-5": "replace", |
21 | "Ctrl-Z": "undo", "Cmd-Z": "undo", | 21 | "Ctrl-Z": "undo", "Cmd-Z": "undo", "Alt-/": "autocomplete", |
22 | fallthrough: ["basic", "emacsy"] | 22 | fallthrough: ["basic", "emacsy"] |
23 | }; | 23 | }; |
24 | 24 | ||
25 | CodeMirror.keyMap["emacs-Ctrl-X"] = { | 25 | CodeMirror.keyMap["emacs-Ctrl-X"] = { |
26 | "Ctrl-S": "save", "Ctrl-W": "save", "S": "saveAll", "F": "open", "U": "undo", "K": "close", | 26 | "Ctrl-S": "save", "Ctrl-W": "save", "S": "saveAll", "F": "open", "U": "undo", "K": "close", |
27 | auto: "emacs", catchall: function(cm) {/*ignore*/} | 27 | auto: "emacs", nofallthrough: true |
28 | }; | 28 | }; |
29 | })(); | 29 | })(); |