fakevim: reset op count when leaving insert mode

Reviewed-by: Alessandro Portale
Task-number: QTCREATORBUG-2552
This commit is contained in:
hjk
2010-10-01 18:42:00 +02:00
parent cbdf363709
commit 77259d1d38

View File

@@ -2659,6 +2659,8 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
enterCommandMode();
m_submode = NoSubMode;
m_ctrlVActive = false;
m_opcount.clear();
m_mvcount.clear();
} else if (m_ctrlVActive) {
insertInInsertMode(input.raw());
} else if (input.isControl('v')) {