Commit 31ae1778 authored by Martin Aumüller's avatar Martin Aumüller Committed by hjk

fakevim: fix repeating 'ciw'

Change-Id: I732cc9d6ad1693cf6227bca7c7d6e80a9357fd23
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 6d97c0ec
......@@ -1844,7 +1844,10 @@ EventResult FakeVimHandler::Private::handleCommandSubSubMode(const Input &input)
else if (input.is('"') || input.is('\'') || input.is('`'))
selectQuotedStringTextObject(m_subsubdata.is('i'), input.key());
m_subsubmode = NoSubSubMode;
finishMovement();
finishMovement(QString("%1%2%3")
.arg(count())
.arg(m_subsubdata.text())
.arg(input.text()));
} else if (m_subsubmode == MarkSubSubMode) {
setMark(input.asChar().unicode(), position());
m_subsubmode = NoSubSubMode;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment