MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / keyMapper

Function keyMapper

static/js/codemirror/keymap/vim.js:2523–2527  ·  view source on GitHub ↗
(key, modifier)

Source from the content-addressed store, hash-verified

2521
2522 // Closure to bind CodeMirror, key, modifier.
2523 function keyMapper(key, modifier) {
2524 return function(cm) {
2525 handleKeyEvent_(cm, key, modifier);
2526 };
2527 }
2528
2529 var modifiers = ['Shift', 'Ctrl'];
2530 var keyMap = {

Callers 1

bindKeysFunction · 0.85

Calls 1

handleKeyEvent_Function · 0.85

Tested by

no test coverage detected