fakevim: eat Ctrl-A to prevent the global "select all" shortcut to trigger

This commit is contained in:
hjk
2009-04-17 14:58:01 +02:00
parent 02d0ede3ec
commit 6f85959d06

View File

@@ -1096,6 +1096,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
m_mode = InsertMode;
moveToEndOfLine();
m_lastInsertion.clear();
} else if (key == control('a')) {
// FIXME: eat it to prevent the global "select all" shortcut to trigger
} else if (key == 'b') {
m_moveType = MoveExclusive;
moveToWordBoundary(false, false);