Commit 6f85959d authored by hjk's avatar hjk
Browse files

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

parent 02d0ede3
...@@ -1096,6 +1096,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified, ...@@ -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);
......
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