   requireInput: true
 
   initialize: ->
-    @setTarget @new('MoveRight') if @isMode('normal')
+    @setTarget(@new('MoveRight')) if @isMode('normal')
     @focusInput()
 
   getInput: ->

      timeout: settings.get('flashOnOperateDuration')

  mutateSelections: (fn) ->
    return unless @selectTarget()
    @editor.transact =>
      for selection in @editor.getSelections()
        fn(selection)

  execute: ->
    @mutateSelections (selection) =>

  constructor: (@message) ->
    @name = 'Operator Error'

# -------------------------
class Operator extends Base
  @extend(false)
