FakeVim: Fix target column for visual movement commands

Change-Id: I90fb87c06d623736d506c570b77c92666fab4170
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Lukas Holecek
2014-11-11 18:35:41 +01:00
committed by hjk
parent b96e9c6115
commit a588af8049

View File

@@ -3152,6 +3152,9 @@ void FakeVimHandler::Private::moveDownVisually(int n)
m_targetColumnWrapped = targetColumn;
}
if (!isInsertMode() && atEndOfLine())
m_cursor.movePosition(Left, KeepAnchor);
updateScrollOffset();
}