Commit 01932534 authored by hjk's avatar hjk
Browse files

Fixes: fakevim: fix cW

parent 3e103278
......@@ -1101,7 +1101,13 @@ bool FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
}
finishMovement("w");
} else if (key == 'W') {
if (m_submode == ChangeSubMode) {
moveToWordBoundary(true, true);
m_moveType = MoveInclusive;
} else {
moveToNextWord(true);
m_moveType = MoveExclusive;
}
finishMovement("W");
} else if (key == 'x') { // = "dl"
m_moveType = MoveExclusive;
......
Supports Markdown
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