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
Marco Bubke
flatpak-qt-creator
Commits
4243b562
Commit
4243b562
authored
May 12, 2010
by
hjk
Browse files
fakevim: ~ uses 'exclusive' motion
parent
bc00f859
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
4243b562
...
...
@@ -2334,6 +2334,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
}
else
if
(
input
.
is
(
'Z'
))
{
m_submode
=
CapitalZSubMode
;
}
else
if
(
!
m_gflag
&&
input
.
is
(
'~'
)
&&
!
isVisualMode
())
{
m_movetype
=
MoveExclusive
;
if
(
!
atEndOfLine
())
{
beginEditBlock
();
setAnchor
();
...
...
@@ -2355,6 +2356,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
||
(
m_gflag
&&
input
.
is
(
'u'
)
&&
!
isVisualMode
())
||
(
m_gflag
&&
input
.
is
(
'U'
)
&&
!
isVisualMode
()))
{
m_gflag
=
false
;
m_movetype
=
MoveExclusive
;
if
(
atEndOfLine
())
moveLeft
();
setAnchor
();
...
...
@@ -2369,6 +2371,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
||
(
m_gflag
&&
input
.
is
(
'u'
)
&&
isVisualMode
())
||
(
m_gflag
&&
input
.
is
(
'U'
)
&&
isVisualMode
()))
{
m_gflag
=
false
;
m_movetype
=
MoveExclusive
;
if
(
isVisualLineMode
())
m_rangemode
=
RangeLineMode
;
else
if
(
isVisualBlockMode
())
...
...
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