From 99f904adcc37d93c90defcd8ce898598e25be212 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 11 Mar 2015 16:55:04 +0100 Subject: Lot of plugins --- codemirror_ui/lib/CodeMirror-2.3/demo/emacs.html | 59 ++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 codemirror_ui/lib/CodeMirror-2.3/demo/emacs.html (limited to 'codemirror_ui/lib/CodeMirror-2.3/demo/emacs.html') diff --git a/codemirror_ui/lib/CodeMirror-2.3/demo/emacs.html b/codemirror_ui/lib/CodeMirror-2.3/demo/emacs.html new file mode 100644 index 0000000..87190c5 --- /dev/null +++ b/codemirror_ui/lib/CodeMirror-2.3/demo/emacs.html @@ -0,0 +1,59 @@ + + + + CodeMirror: Emacs bindings demo + + + + + + + + + +

CodeMirror: Emacs bindings demo

+ +
+ +

The emacs keybindings are enabled by +including keymap/emacs.js and setting +the keyMap option to "emacs". Because +CodeMirror's internal API is quite different from Emacs, they are only +a loose approximation of actual emacs bindings, though.

+ +

Also note that a lot of browsers disallow certain keys from being +captured. For example, Chrome blocks both Ctrl-W and Ctrl-N, with the +result that idiomatic use of Emacs keys will constantly close your tab +or open a new window.

+ + + + + -- cgit v1.2.3