Commit da31e05a authored by Lukas Holecek's avatar Lukas Holecek Committed by hjk

fakevim: Fix map handling in Ex mode

Change-Id: I23b280351de0e57df751fe5530fec8b3dd9e197d
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 30c59e27
......@@ -5620,12 +5620,12 @@ QWidget *FakeVimHandler::Private::editor() const
char FakeVimHandler::Private::currentModeCode() const
{
if (isVisualMode())
if (m_mode == ExMode)
return 'c';
else if (isVisualMode())
return 'v';
else if (m_mode == CommandMode)
return 'n';
else if (m_mode == ExMode)
return 'c';
else
return 'i';
}
......
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