Commit c446f9ef authored by Martin Aumueller's avatar Martin Aumueller
Browse files

fakevim: dj/dk would not delete whole lines

parent 06dfd937
......@@ -1004,7 +1004,9 @@ bool FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
moveDown(count());
moveToDesiredColumn();
} else {
m_moveType = MoveLineWise;
moveToStartOfLine();
setAnchor();
moveDown(count() + 1);
}
finishMovement();
......@@ -1029,8 +1031,10 @@ bool FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
moveUp(count());
moveToDesiredColumn();
} else {
m_moveType = MoveLineWise;
moveToStartOfLine();
moveDown();
setAnchor();
moveUp(count() + 1);
}
finishMovement();
......
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