forked from qt-creator/qt-creator
Fixes: fakevim: ignore remaining Ctrl combinations in insert mode
This commit is contained in:
@@ -1220,6 +1220,8 @@ bool FakeVimHandler::Private::handleInsertMode(int key, int, const QString &text
|
||||
QString str = QString(m_config[ConfigTabStop].toInt(), ' ');
|
||||
m_lastInsertion.append(str);
|
||||
m_tc.insertText(str);
|
||||
} else if (key >= control('a') && key <= control('z')) {
|
||||
// ignore these
|
||||
} else if (!text.isEmpty()) {
|
||||
m_lastInsertion.append(text);
|
||||
if (m_submode == ReplaceSubMode) {
|
||||
|
Reference in New Issue
Block a user