fix vim zz
This commit is contained in:
parent
c4c8b2ec7e
commit
f02db6ff62
1 changed files with 3 additions and 3 deletions
|
|
@ -74,13 +74,13 @@ var actions = exports.actions = {
|
||||||
fn: function(editor, range, count, param) {
|
fn: function(editor, range, count, param) {
|
||||||
switch (param) {
|
switch (param) {
|
||||||
case "z":
|
case "z":
|
||||||
editor.alignCursor(null, 0.5);
|
editor.renderer.alignCursor(null, 0.5);
|
||||||
break;
|
break;
|
||||||
case "t":
|
case "t":
|
||||||
editor.alignCursor(null, 0);
|
editor.renderer.alignCursor(null, 0);
|
||||||
break;
|
break;
|
||||||
case "b":
|
case "b":
|
||||||
editor.alignCursor(null, 1);
|
editor.renderer.alignCursor(null, 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue