FakeVim: Don't change cursor column after 'yy' command

Change-Id: I44b61dfc6a03fba242c8d9d42d483806ca9d85ce
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Lukas Holecek
2014-11-04 20:21:22 +01:00
committed by hjk
parent 6d0591090d
commit 743e1ca67e
2 changed files with 5 additions and 0 deletions

View File

@@ -3359,6 +3359,8 @@ void FakeVimHandler::Private::finishMovement(const QString &dotCommandMovement)
if (g.rangemode == RangeLineMode) {
if (isVisualModeYank)
moveToStartOfLine();
else
moveToTargetColumn();
}
}
setTargetColumn();