forked from qt-creator/qt-creator
fakevim: fix backspace at start of line in insert mode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user