do not throw when running vim ':write' command
This commit is contained in:
parent
c769031e78
commit
64eaf47c4d
1 changed files with 4 additions and 1 deletions
|
|
@ -5952,7 +5952,7 @@ dom.importCssString(".normal-mode .ace_cursor{\
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
var renderVirtualNumbers = {
|
var renderVirtualNumbers = {
|
||||||
getText: function(session, row) {
|
getText: function(session, row) {
|
||||||
return (Math.abs(session.selection.lead.row - row) || (row + 1 + (row < 9? "\xb7" : "" ))) + ""
|
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"
|
type: "boolean"
|
||||||
}, false);
|
}, false);
|
||||||
|
exports.Vim.defineEx('write', 'w', function() {
|
||||||
|
console.log(':write is not implemented')
|
||||||
|
});
|
||||||
defaultKeymap.push(
|
defaultKeymap.push(
|
||||||
{ keys: 'zc', type: 'action', action: 'fold', actionArgs: { open: false } },
|
{ keys: 'zc', type: 'action', action: 'fold', actionArgs: { open: false } },
|
||||||
{ keys: 'zC', type: 'action', action: 'fold', actionArgs: { open: false, all: true } },
|
{ keys: 'zC', type: 'action', action: 'fold', actionArgs: { open: false, all: true } },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue