forked from qt-creator/qt-creator
fakevim: leave visual mode if entering insert mode
Merge-request: 96 Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
@@ -3001,6 +3001,7 @@ void FakeVimHandler::Private::enterInsertMode()
|
|||||||
{
|
{
|
||||||
EDITOR(setCursorWidth(m_cursorWidth));
|
EDITOR(setCursorWidth(m_cursorWidth));
|
||||||
EDITOR(setOverwriteMode(false));
|
EDITOR(setOverwriteMode(false));
|
||||||
|
leaveVisualMode();
|
||||||
m_mode = InsertMode;
|
m_mode = InsertMode;
|
||||||
m_lastInsertion.clear();
|
m_lastInsertion.clear();
|
||||||
m_beginEditBlock = true;
|
m_beginEditBlock = true;
|
||||||
|
Reference in New Issue
Block a user