marijnh/CodeMirror — pull request #1534 by lynschinzer (2013-05-17 21:54:59+00:00)
Title: [vim keymap] Improve code structure for later usage

This change set is to allow the `cm to vim` key conversion logic in `handleKeyEvent_` to be reused by our later `insertMode keylogger` upon raw key events.