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
da91600b
Commit
da91600b
authored
Oct 11, 2010
by
hjk
Browse files
fakevim: fix 'Delete' in insert mode to delete exactly one char again
Reviewed-by: Kornelia Poenitz
parent
ea56809c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
da91600b
...
...
@@ -2730,6 +2730,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
}
endEditBlock
();
}
else
if
(
input
.
isKey
(
Key_Delete
))
{
setAnchor
();
cursor
().
deleteChar
();
m_lastInsertion
.
clear
();
}
else
if
(
input
.
isKey
(
Key_PageDown
)
||
input
.
isControl
(
'f'
))
{
...
...
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