- if mode isnt 'visual'
- @editor.setCursorBufferPosition([start.row, 0])
- @editor.moveToFirstCharacterOfLine()
- @vimState.activateCommandMode()
+ @editor.clearSelections()
+ @editor.getLastCursor().setBufferPosition([originalRanges.shift().start.row, 0])
+ for range in originalRanges
+ @editor.addCursorAtBufferPosition([range.start.row, 0])
+ @editor.moveToFirstCharacterOfLine()
+ @vimState.activateNormalMode()