forked from qt-creator/qt-creator
fakevim: eat Ctrl-A to prevent the global "select all" shortcut to trigger
This commit is contained in:
@@ -1096,6 +1096,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
|
|||||||
m_mode = InsertMode;
|
m_mode = InsertMode;
|
||||||
moveToEndOfLine();
|
moveToEndOfLine();
|
||||||
m_lastInsertion.clear();
|
m_lastInsertion.clear();
|
||||||
|
} else if (key == control('a')) {
|
||||||
|
// FIXME: eat it to prevent the global "select all" shortcut to trigger
|
||||||
} else if (key == 'b') {
|
} else if (key == 'b') {
|
||||||
m_moveType = MoveExclusive;
|
m_moveType = MoveExclusive;
|
||||||
moveToWordBoundary(false, false);
|
moveToWordBoundary(false, false);
|
||||||
|
Reference in New Issue
Block a user