fakevim: cursor movement is _exclusive_ when using /

This commit is contained in:
hjk
2010-05-06 14:16:41 +02:00
parent 5f954d106c
commit ccc959f4e3

View File

@@ -1676,6 +1676,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
// FIXME: make core find dialog sufficiently flexible to
// produce the "default vi" behaviour too. For now, roll our own.
m_currentMessage.clear();
m_movetype = MoveExclusive;
m_subsubmode = SearchSubSubMode;
m_commandPrefix = QLatin1Char(m_lastSearchForward ? '/' : '?');
m_commandBuffer = QString();