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

This commit is contained in:
Rhys Weatherley
2009-05-29 08:04:13 +10:00
parent 790a7879e8
commit 8fa417bdd7

View File

@@ -1044,6 +1044,11 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
moveDown();
moveToFirstNonBlankOnLine();
finishMovement();
} else if (key == '-') {
moveToStartOfLine();
moveUp();
moveToFirstNonBlankOnLine();
finishMovement();
} else if (key == Key_Home) {
moveToStartOfLine();
setTargetColumn();