diff --git a/lib/ace/keyboard/vim.js b/lib/ace/keyboard/vim.js index 7c19299d..9f7fd99f 100644 --- a/lib/ace/keyboard/vim.js +++ b/lib/ace/keyboard/vim.js @@ -5952,7 +5952,7 @@ dom.importCssString(".normal-mode .ace_cursor{\ } } } - } + }; var renderVirtualNumbers = { getText: function(session, row) { return (Math.abs(session.selection.lead.row - row) || (row + 1 + (row < 9? "\xb7" : "" ))) + "" @@ -5979,6 +5979,9 @@ dom.importCssString(".normal-mode .ace_cursor{\ }, type: "boolean" }, false); + exports.Vim.defineEx('write', 'w', function() { + console.log(':write is not implemented') + }); defaultKeymap.push( { keys: 'zc', type: 'action', action: 'fold', actionArgs: { open: false } }, { keys: 'zC', type: 'action', action: 'fold', actionArgs: { open: false, all: true } },