Skip to content
Snippets Groups Projects
Commit 12636605 authored by hjk's avatar hjk
Browse files

fakevim: update state after pressing <Return>

parent ea68c437
No related branches found
No related tags found
No related merge requests found
......@@ -648,6 +648,7 @@ bool FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
} else if (key == Key_Return) {
m_tc.movePosition(StartOfLine);
m_tc.movePosition(Down);
finishMovement();
} else if (key == Key_Home) {
m_tc.movePosition(StartOfLine, KeepAnchor);
finishMovement();
......
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