diff options
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 | })(); |