Commit da91600b authored by hjk's avatar hjk
Browse files

fakevim: fix 'Delete' in insert mode to delete exactly one char again

Reviewed-by: Kornelia Poenitz
parent ea56809c
......@@ -2730,6 +2730,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
}
endEditBlock();
} else if (input.isKey(Key_Delete)) {
setAnchor();
cursor().deleteChar();
m_lastInsertion.clear();
} else if (input.isKey(Key_PageDown) || input.isControl('f')) {
......
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