Commit 8abc551b authored by Kimitake's avatar Kimitake Committed by hjk
Browse files

[ and ] can be added in command mode, but they should be ignored.



Merge-request: 2157
Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
parent ecf75173
......@@ -1609,6 +1609,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
setAnchor();
moveRight(qMin(1, rightDist()));
removeSelectedText();
} else if (key == Key_BracketLeft || key == Key_BracketRight) {
} else if (key == Key_Escape) {
if (m_visualMode != NoVisualMode) {
leaveVisualMode();
......
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