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

basic implementation of 'I'

parent 0dc5a124
......@@ -448,6 +448,12 @@ void FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
m_mode = InsertMode;
m_tc.beginEditBlock();
m_lastInsertion.clear();
} else if (key == 'I') {
m_mode = InsertMode;
moveToFirstNonBlankOnLine();
m_tc.clearSelection();
m_tc.beginEditBlock();
m_lastInsertion.clear();
} else if (key == 'j' || key == Key_Down) {
m_tc.movePosition(Down, KeepAnchor, count());
finishMovement();
......
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