Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
419f5875
Commit
419f5875
authored
Jun 04, 2010
by
hjk
Browse files
fakevim: clear opcount and mvcount on escape
parent
4df88cce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
419f5875
...
...
@@ -929,7 +929,8 @@ bool FakeVimHandler::Private::wantsOverride(QKeyEvent *ev)
if
(
m_subsubmode
==
SearchSubSubMode
)
return
true
;
// Not sure this feels good. People often hit Esc several times
if
(
isNoVisualMode
()
&&
m_mode
==
CommandMode
)
if
(
isNoVisualMode
()
&&
m_mode
==
CommandMode
&&
m_opcount
.
isEmpty
()
&&
m_mvcount
.
isEmpty
())
return
false
;
return
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment