Commit fc47af3a authored by Lukas Holecek's avatar Lukas Holecek Committed by hjk

fakevim: In insert mode <C-J> and <C-M> are aliases for return key

Change-Id: I825d82c8577d2e9163248f4e968e177741683145
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 2e1f898c
......@@ -4079,7 +4079,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
setTargetColumn();
breakEditBlock();
m_lastInsertion.clear();
} else if (input.isReturn()) {
} else if (input.isReturn() || input.isControl('j') || input.isControl('m')) {
joinPreviousEditBlock();
m_submode = NoSubMode;
insertText(QString("\n"));
......
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