do not throw when running vim ':write' command

This commit is contained in:
nightwing 2015-01-22 22:41:04 +04:00
commit 64eaf47c4d

View file

@ -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 } },