Commit 91c90912 authored by hjk's avatar hjk
Browse files

fakevim: Fix mark interpretion for d'a etc.

http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1342
parent 91aa9f6c
......@@ -1954,6 +1954,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;
......@@ -1975,6 +1977,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);
......
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