Commit 77259d1d authored by hjk's avatar hjk
Browse files

fakevim: reset op count when leaving insert mode

Reviewed-by: Alessandro Portale
Task-number: QTCREATORBUG-2552
parent cbdf3637
......@@ -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')) {
......
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