Commit 6648fe43 authored by Martin Aumüller's avatar Martin Aumüller Committed by hjk
Browse files

fakevim: retain column when moving across lines after '^'



Merge-request: 113
Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
parent eb05d2ac
...@@ -1269,6 +1269,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified, ...@@ -1269,6 +1269,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
} }
} else if (key == '^') { } else if (key == '^') {
moveToFirstNonBlankOnLine(); moveToFirstNonBlankOnLine();
setTargetColumn();
m_movetype = MoveExclusive; m_movetype = MoveExclusive;
finishMovement(QString(QLatin1Char('^'))); finishMovement(QString(QLatin1Char('^')));
} else if (0 && key == ',') { } else if (0 && key == ',') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment