Commit 15c89ea2 authored by hjk's avatar hjk Committed by Roberto Raggi
Browse files

handle 'gJ'

parent b748b12d
......@@ -404,8 +404,10 @@ void FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
for (int i = qMax(count(), 2) - 1; --i >= 0; ) {
m_tc.movePosition(EndOfLine);
m_tc.deleteChar();
if (!m_gflag)
m_tc.insertText(" ");
}
if (!m_gflag)
m_tc.movePosition(Left, MoveAnchor, 1);
}
} else if (key == 'k' || key == Key_Up) {
......
load(qttest_p4)
QT += testlib
FAKEVIMSOURCE = /data/qt-creator/src/plugins/fakevim
INCLUDEPATH += $$FAKEVIMSOURCE
SOURCES += \
main.cpp \
handler.cpp
$$FAKEVIMSOURCE/handler.cpp
HEADERS += \
$$FAKEVIMSOURCE/handler.h
HEADER += \
handler.h
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