forked from qt-creator/qt-creator
FakeVim: Fix target column for visual movement commands
Change-Id: I90fb87c06d623736d506c570b77c92666fab4170 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -3152,6 +3152,9 @@ void FakeVimHandler::Private::moveDownVisually(int n)
|
|||||||
m_targetColumnWrapped = targetColumn;
|
m_targetColumnWrapped = targetColumn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isInsertMode() && atEndOfLine())
|
||||||
|
m_cursor.movePosition(Left, KeepAnchor);
|
||||||
|
|
||||||
updateScrollOffset();
|
updateScrollOffset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user