Commit 8fa417bd authored by Rhys Weatherley's avatar Rhys Weatherley
Browse files

Make '-' move to the start of the previous line in FakeVim mode.

parent 790a7879
...@@ -1044,6 +1044,11 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified, ...@@ -1044,6 +1044,11 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
moveDown(); moveDown();
moveToFirstNonBlankOnLine(); moveToFirstNonBlankOnLine();
finishMovement(); finishMovement();
} else if (key == '-') {
moveToStartOfLine();
moveUp();
moveToFirstNonBlankOnLine();
finishMovement();
} else if (key == Key_Home) { } else if (key == Key_Home) {
moveToStartOfLine(); moveToStartOfLine();
setTargetColumn(); setTargetColumn();
......
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