Commit 419f5875 authored by hjk's avatar hjk
Browse files

fakevim: clear opcount and mvcount on escape

parent 4df88cce
......@@ -929,7 +929,8 @@ bool FakeVimHandler::Private::wantsOverride(QKeyEvent *ev)
if (m_subsubmode == SearchSubSubMode)
return true;
// Not sure this feels good. People often hit Esc several times
if (isNoVisualMode() && m_mode == CommandMode)
if (isNoVisualMode() && m_mode == CommandMode
&& m_opcount.isEmpty() && m_mvcount.isEmpty())
return false;
return true;
}
......
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