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
91c90912
Commit
91c90912
authored
Aug 11, 2010
by
hjk
Browse files
fakevim: Fix mark interpretion for d'a etc.
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1342
parent
91aa9f6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
91c90912
...
...
@@ -1954,6 +1954,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
}
}
else
if
(
input
.
is
(
'`'
))
{
m_subsubmode
=
BackTickSubSubMode
;
if
(
m_submode
!=
NoSubMode
)
m_movetype
=
MoveLineWise
;
}
else
if
(
input
.
is
(
'#'
)
||
input
.
is
(
'*'
))
{
// FIXME: That's not proper vim behaviour
QTextCursor
tc
=
m_tc
;
...
...
@@ -1975,6 +1977,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
//updateMiniBuffer();
}
else
if
(
input
.
is
(
'\''
))
{
m_subsubmode
=
TickSubSubMode
;
if
(
m_submode
!=
NoSubMode
)
m_movetype
=
MoveLineWise
;
}
else
if
(
input
.
is
(
'|'
))
{
moveToStartOfLine
();
moveRight
(
qMin
(
count
(),
rightDist
())
-
1
);
...
...
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