(cm)
| 202 | } |
| 203 | |
| 204 | function enterInsertMode(cm) { |
| 205 | // enter insert mode: switch mode and cursor |
| 206 | if (!cm) console.log("call enterInsertMode with 'cm' as an argument"); |
| 207 | popCount(); |
| 208 | cm.setOption("keyMap", "vim-insert"); |
| 209 | } |
| 210 | |
| 211 | // main keymap |
| 212 | var map = CodeMirror.keyMap.vim = { |
no test coverage detected