forked from qt-creator/qt-creator
fakevim: Fix mark interpretion for d'a etc.
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1342
(cherry picked from commit 91c909120b)
This commit is contained in:
@@ -1867,6 +1867,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
|
||||
}
|
||||
} else if (input.is('`')) {
|
||||
m_subsubmode = BackTickSubSubMode;
|
||||
if (m_submode != NoSubMode)
|
||||
m_movetype = MoveLineWise;
|
||||
} else if (input.is('#') || input.is('*')) {
|
||||
// FIXME: That's not proper vim behaviour
|
||||
QTextCursor tc = m_tc;
|
||||
@@ -1888,6 +1890,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
|
||||
//updateMiniBuffer();
|
||||
} else if (input.is('\'')) {
|
||||
m_subsubmode = TickSubSubMode;
|
||||
if (m_submode != NoSubMode)
|
||||
m_movetype = MoveLineWise;
|
||||
} else if (input.is('|')) {
|
||||
moveToStartOfLine();
|
||||
moveRight(qMin(count(), rightDist()) - 1);
|
||||
|
||||
Reference in New Issue
Block a user