 disposableByEditor = new Map
 # -------------------------
 class MoveSelectedText extends TransformString
+  @commandScope: 'atom-text-editor.vim-mode-plus.visual-mode'
+
   countTimes: (fn) ->
     _.times @getCount(), ->
       fn()

  flashTarget: false

  execute: ->
    return unless @isMode('visual')

    @withUndoJoin =>
      @eachSelection (selection) =>
        @countTimes =>

  flashTarget: false

  execute: ->
    @withUndoJoin =>
      selections = @editor.getSelectionsOrderedByBufferPosition()
      selections.reverse() if @direction is 'down'
