main.js
/**
     * @private
     * Enable Vimderbar on current CodeMirror instance
     * @param {CodeMirror} cm Current CodeMirror editor instance
     */
@private
Enable Vimderbar on current CodeMirror instance
@param {CodeMirror} cm Current CodeMirror editor instance
@private Enable Vimderbar on current CodeMirror instance @param { CodeMirror } cm Current CodeMirror editor instance
function enableVimderbar(cm) {
        cm.on("keydown", escKeyEvent);
        setKeyBindings(cm);
        cm.setOption("showCursorWhenSelecting", true);
        cm.setOption("keyMap", "vim");
        cm.setOption("vimMode", true);
        $("#vimderbar").show();
        WorkspaceManager.recomputeLayout();
    }
function enableVimderbar ( cm ) { cm . on ( "keydown" , escKeyEvent ) ; setKeyBindings ( cm ) ; cm . setOption ( "showCursorWhenSelecting" , true ) ; cm . setOption ( "keyMap" , "vim" ) ; cm . setOption ( "vimMode" , true ) ; $ ( "#vimderbar" ) . show ( ) ; WorkspaceManager . recomputeLayout ( ) ; }
@private
 Enable Vimderbar on current CodeMirror instance
 @param {CodeMirror} cm Current CodeMirror editor instance
@private Enable Vimderbar on current CodeMirror instance @param { CodeMirror } cm Current CodeMirror editor instance