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
53ab86dc
Commit
53ab86dc
authored
Jan 28, 2009
by
hjk
Browse files
Fixes: fakevim: explicitly make 'l' an 'exclusive' motion
parent
8c773beb
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/gdbmacros.cpp
View file @
53ab86dc
...
...
@@ -2228,9 +2228,11 @@ static void qDumpStdMap(QDumper &d)
if
(
isSimpleKey
&&
isSimpleValue
)
{
P
(
d
,
"type"
,
valueType
);
P
(
d
,
"addr"
,
addOffset
(
node
,
valueOffset
));
P
(
d
,
"numchild"
,
0
);
}
else
{
P
(
d
,
"addr"
,
node
);
P
(
d
,
"type"
,
pairType
);
P
(
d
,
"numchild"
,
2
);
}
d
.
endHash
();
}
...
...
src/plugins/fakevim/fakevimhandler.cpp
View file @
53ab86dc
...
...
@@ -986,6 +986,7 @@ bool FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
finishMovement
();
m_desiredColumn
=
savedColumn
;
}
else
if
(
key
==
'l'
||
key
==
Key_Right
)
{
m_moveType
=
MoveExclusive
;
moveRight
(
qMin
(
count
(),
rightDist
()));
finishMovement
();
}
else
if
(
key
==
'L'
)
{
...
...
@@ -1099,6 +1100,7 @@ bool FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
moveToNextWord
(
true
);
finishMovement
(
"W"
);
}
else
if
(
key
==
'x'
)
{
// = "dl"
m_moveType
=
MoveExclusive
;
if
(
atEndOfLine
())
moveLeft
();
recordBeginGroup
();
...
...
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