Visual viw, viw{bracket}, Ctrl+f, Ctcl+b

This commit is contained in:
2016-03-31 02:25:39 +08:00
parent 030fb3226b
commit 553cab9776
7 changed files with 139 additions and 61 deletions
+2 -2
View File
@@ -89,7 +89,7 @@
Cursor.prototype.Vim;
// Move to an absolute position
Cursor.prototype.moveTo = function( aPos )
Cursor.prototype.moveTo = function( aPos, phantomSpace )
{
var content = this.feeder.content;
var lastLineNum = this.getLine().lineNum;
@@ -115,7 +115,7 @@
if( 0 < this.getLine().lineNum && lineStart <= aPos ) jumpX --;
this.moveX( - Number.MAX_VALUE );
this.moveX( jumpX );
this.moveX( jumpX, false, phantomSpace );
};