diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index 01a768e5ec8570c315c0289c2e97cc2e2c866672..cfb2c19799b10e49173312080e896798006e2c26 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -2727,6 +2727,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input) moveRight(prefix.size()); m_lastInsertion.clear(); // FIXME } else { + setAnchor(); cursor().deletePreviousChar(); m_lastInsertion.chop(1); }