mapCommand call to ";lv", but because ";" is already used for something else you would need to call vimKeyboard.Vim.unmap(";") first
// get current editor instance
var editor = window._debug_editors[window._debug_editors.length -1]
// vim keyboard plugin
var vimKeyboard = window.ace.require("ace/keyboard/vim")
////////////////////////////////////////////////////////////
// add custom keybindings - insert mode applies on insert
vimKeyboard.Vim.map("jj", "<Esc>", "insert")
// Equilivantly, from
https://groups.google.com/d/msg/ace-discuss/gwXMzUM17I4/9B_acHBSCQAJ // window.ace.require("ace/keyboard/vim").Vim.map('jj', '<Esc>', 'insert')
vimKeyboard.Vim.map("jk", "<Esc>", "insert")
////////////////////////////////////////////////////////////
// Remapping one key to another is doable, in Normal mode
// `nmap h j` can be defined as the following:
vimKeyboard.Vim.map("h", "j", "normal")
// Jump to PDF (forward search)
editor.commands.addCommands([{