forked from qt-creator/qt-creator
fakevim: Correct movement mode for yanking lines
Change-Id: I936574d9220d11031e1f68600bec6e33c88808a5 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user