       @restore = preserveSelectionStartPoints(@editor)
       @target.select()
       unless haveSomeSelection(@editor)
-        @vimState.reset()
+        @vimState.input.cancel()
         @abort()
       @addHover(@editor.getSelectedText()[0])
     super

    @stdoutBySelection = new Map
    restorePoint = null
    unless @isMode('visual')
      # swrap(selection).preserveCharacterwise() for selection in @editor.getSelections()

      restorePoint = preserveSelectionStartPoints(@editor)
      @target.select()

    running = finished = 0

            resolve() if (running is finished)

          @runExternalCommand {command, args, stdout, exit, stdin}
          @restorePoint(selection) unless @isMode('visual')

  runExternalCommand: (options) ->
    {stdin} = options
