Skip to content
Snippets Groups Projects
Commit bd495ef6 authored by Martin Aumüller's avatar Martin Aumüller Committed by hjk
Browse files

fakevim: mark '+', '-' and Return as moving by line


Merge-request: 99
Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
parent f5cf9e55
No related branches found
No related tags found
No related merge requests found
......@@ -1238,16 +1238,19 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
moveToStartOfLine();
moveDown();
moveToFirstNonBlankOnLine();
m_movetype = MoveLineWise;
finishMovement("%1j", count());
} else if (key == '-') {
moveToStartOfLine();
moveUp(count());
moveToFirstNonBlankOnLine();
m_movetype = MoveLineWise;
finishMovement("%1-", count());
} else if (key == '+') {
moveToStartOfLine();
moveDown(count());
moveToFirstNonBlankOnLine();
m_movetype = MoveLineWise;
finishMovement("%1+", count());
} else if (key == Key_Home) {
moveToStartOfLine();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment