Handle keybinding in CodeMirror. Fixes #209