Commit 32881501 authored by hjk's avatar hjk
Browse files

Fixes: fakevim: ignore remaining Ctrl combinations in insert mode

parent d8005df0
...@@ -1220,6 +1220,8 @@ bool FakeVimHandler::Private::handleInsertMode(int key, int, const QString &text ...@@ -1220,6 +1220,8 @@ bool FakeVimHandler::Private::handleInsertMode(int key, int, const QString &text
QString str = QString(m_config[ConfigTabStop].toInt(), ' '); QString str = QString(m_config[ConfigTabStop].toInt(), ' ');
m_lastInsertion.append(str); m_lastInsertion.append(str);
m_tc.insertText(str); m_tc.insertText(str);
} else if (key >= control('a') && key <= control('z')) {
// ignore these
} else if (!text.isEmpty()) { } else if (!text.isEmpty()) {
m_lastInsertion.append(text); m_lastInsertion.append(text);
if (m_submode == ReplaceSubMode) { if (m_submode == ReplaceSubMode) {
......
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