main.js
/**
     * @private
     * Disable Vimderbar
     * @param {CodeMirror} cm Current CodeMirror editor instance
     */
@private
Disable Vimderbar
@param {CodeMirror} cm Current CodeMirror editor instance
@private Disable Vimderbar @param { CodeMirror } cm Current CodeMirror editor instance
function disableVimderbar(cm) {
        cm.off("keydown", escKeyEvent);
        cm.setOption("showCursorWhenSelecting", false);
        cm.setOption("keyMap", "default");
        cm.setOption("vimMode", false);
        $("#vimderbar").hide();
    }
function disableVimderbar ( cm ) { cm . off ( "keydown" , escKeyEvent ) ; cm . setOption ( "showCursorWhenSelecting" , false ) ; cm . setOption ( "keyMap" , "default" ) ; cm . setOption ( "vimMode" , false ) ; $ ( "#vimderbar" ) . hide ( ) ; }
@private
 Disable Vimderbar
 @param {CodeMirror} cm Current CodeMirror editor instance
@private Disable Vimderbar @param { CodeMirror } cm Current CodeMirror editor instance