[vim] add ctrl+x ctrl+a
This commit is contained in:
parent
59f5e7ffca
commit
989f318d87
1 changed files with 11 additions and 1 deletions
|
|
@ -288,7 +288,17 @@ var actions = exports.actions = {
|
|||
if (previous) // If there is a previous action
|
||||
inputBuffer.exec(editor, previous.action, previous.param);
|
||||
}
|
||||
}
|
||||
},
|
||||
"ctrl-x": {
|
||||
fn: function(editor, range, count, param) {
|
||||
editor.modifyNumber(-(count || 1));
|
||||
}
|
||||
},
|
||||
"ctrl-a": {
|
||||
fn: function(editor, range, count, param) {
|
||||
editor.modifyNumber(count || 1);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
var inputBuffer = exports.inputBuffer = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue