Commit 979c48fd authored by hjk's avatar hjk
Browse files

fakevim: show a message similar to vim when pressing Ctrl-c in command mode

parent b575e065
......@@ -1125,6 +1125,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
m_registers[m_register] = removeSelectedText();
m_mode = InsertMode;
finishMovement();
} else if (key == control('c')) {
showBlackMessage("Type Alt-v,Alt-v to quit FakeVim mode");
} else if (key == 'd' && m_visualMode == NoVisualMode) {
if (atEndOfLine())
moveLeft();
......
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