Fixes: fakevim: <Space> moves right now

Details:  patch suggested by Bart van Deenen
This commit is contained in:
hjk
2009-02-09 17:10:25 +01:00
parent 7e5bb9cd36
commit 65638f7cc2

View File

@@ -1027,7 +1027,7 @@ bool FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
}
finishMovement();
m_desiredColumn = savedColumn;
} else if (key == 'l' || key == Key_Right) {
} else if (key == 'l' || key == Key_Right || key == ' ') {
m_moveType = MoveExclusive;
moveRight(qMin(count(), rightDist()));
finishMovement();