Commit 84af25f6 authored by hjk's avatar hjk Committed by Roberto Raggi
Browse files

small correction for 'df'

parent d0f17e75
......@@ -624,8 +624,14 @@ void FakeVimHandler::Private::handleFfTt(int key)
if (repeat == 0) {
if (m_subsubdata == 't')
--pos;
if (m_subsubdata == 'T')
else if (m_subsubdata == 'T')
++pos;
// FIXME: strange correction...
if (m_submode == DeleteSubMode && m_subsubdata == 'f')
++pos;
if (m_submode == DeleteSubMode && m_subsubdata == 't')
++pos;
if (forward)
m_tc.movePosition(Right, KeepAnchor, pos - m_tc.position());
else
......
Supports Markdown
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