Commit e3eec1eb authored by hjk's avatar hjk
Browse files

Fixes: fakevim: implement . after 'f', 't', 'F', and 'T'

parent 07718288
...@@ -861,7 +861,10 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified, ...@@ -861,7 +861,10 @@ EventResult FakeVimHandler::Private::handleCommandMode(int key, int unmodified,
m_semicolonKey = key; m_semicolonKey = key;
handleFfTt(key); handleFfTt(key);
m_subsubmode = NoSubSubMode; m_subsubmode = NoSubSubMode;
finishMovement(); finishMovement(QString("%1%2%3")
.arg(count())
.arg(QChar(m_semicolonType))
.arg(QChar(m_semicolonKey)));
} else if (m_submode == ReplaceSubMode) { } else if (m_submode == ReplaceSubMode) {
if (count() < rightDist() && text.size() == 1 if (count() < rightDist() && text.size() == 1
&& (text.at(0).isPrint() || text.at(0).isSpace())) { && (text.at(0).isPrint() || text.at(0).isSpace())) {
......
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