forked from qt-creator/qt-creator
		
	fakevim: update state after pressing <Return>
This commit is contained in:
		@@ -648,6 +648,7 @@ bool FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
 | 
			
		||||
    } else if (key == Key_Return) {
 | 
			
		||||
        m_tc.movePosition(StartOfLine);
 | 
			
		||||
        m_tc.movePosition(Down);
 | 
			
		||||
        finishMovement();
 | 
			
		||||
    } else if (key == Key_Home) {
 | 
			
		||||
        m_tc.movePosition(StartOfLine, KeepAnchor);
 | 
			
		||||
        finishMovement();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user