MCPcopy Index your code
hub / github.com/witheve/Eve / detachVimMap

Function detachVimMap

src/codemirror.js:9591–9597  ·  view source on GitHub ↗
(cm, next)

Source from the content-addressed store, hash-verified

9589 }
9590
9591 function detachVimMap(cm, next) {
9592 if (this == CodeMirror.keyMap.vim)
9593 CodeMirror.rmClass(cm.getWrapperElement(), "cm-fat-cursor");
9594
9595 if (!next || next.attach != attachVimMap)
9596 leaveVimMode(cm, false);
9597 }
9598 function attachVimMap(cm, prev) {
9599 if (this == CodeMirror.keyMap.vim)
9600 CodeMirror.addClass(cm.getWrapperElement(), "cm-fat-cursor");

Callers

nothing calls this directly

Calls 2

leaveVimModeFunction · 0.85
getWrapperElementMethod · 0.80

Tested by

no test coverage detected