Permalink
Browse files

[vim] Improving mouse-interaction

  • Loading branch information...
1 parent 037993f commit 318c66d8baf2d246925263fc0c21232067fd8fa0 @metatheos committed Mar 15, 2013
Showing with 219 additions and 156 deletions.
  1. +2 −4 demo/vim.html
  2. +203 −138 keymap/vim.js
  3. +14 −14 test/vim_test.js
View
@@ -50,14 +50,12 @@
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
lineNumbers: true,
mode: "text/x-csrc",
- keyMap: "vim",
- showCursorWhenSelecting: true
+ vimlike: true
});
var editor2 = CodeMirror.fromTextArea(document.getElementById("code2"), {
lineNumbers: true,
mode: "text/x-csrc",
- keyMap: "vim",
- showCursorWhenSelecting: true
+ vimlike: true
});
</script>
Oops, something went wrong.

0 comments on commit 318c66d

Please sign in to comment.