fakevim: fix backspace at start of line in insert mode

This commit is contained in:
hjk
2010-09-15 16:35:59 +02:00
parent 0402a3ff7f
commit 2e02f4cb27

View File

@@ -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);
}