marijnh/CodeMirror — pull request #2094 by mgsloan (2014-01-03 04:19:57+00:00)
Title: [closebrackets addon] With vim bindings, only insert brackets in insert mode

For me, the issue this caused was that pressing "[" in vim normal mode would insert "[]".

@marijnh, it seems a bit messy to explicitly check for vim, because other keymaps might want to similarly "take over the keyboard". Is there a better way to do this?