fakevim: Correct movement mode for yanking lines

Change-Id: I936574d9220d11031e1f68600bec6e33c88808a5
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Lukas Holecek
2012-12-02 18:32:56 +01:00
committed by hjk
parent baa4db2499
commit 234a04f814
2 changed files with 6 additions and 0 deletions

View File

@@ -3692,6 +3692,7 @@ bool FakeVimHandler::Private::handleNoSubMode(const Input &input)
|| (input.is('Y') && isVisualLineMode())
|| (input.is('Y') && isVisualCharMode())) {
m_rangemode = RangeLineMode;
m_movetype = MoveLineWise;
m_submode = YankSubMode;
finishMovement();
} else if ((input.is('y') || input.is('Y')) && isVisualBlockMode()) {