Permalink
Browse files

[emacs keymap] export kill, killRegion, repeated

so other potential emacs-type modules can use
  • Loading branch information...
1 parent af766c4 commit 5e342f21ed72f87f77f70e5ac69f111e32470704 @achengs achengs committed with marijnh Dec 7, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 keymap/emacs.js
View
@@ -271,6 +271,8 @@
clearMark(cm);
}
+ CodeMirror.emacs = {kill: kill, killRegion: killRegion, repeated: repeated};
+
// Actual keymap
var keyMap = CodeMirror.keyMap.emacs = CodeMirror.normalizeKeyMap({

0 comments on commit 5e342f2

Please sign in to comment.