 # tells the operation to repeat itself instead of enter insert mode.
 class Insert extends Operator
   @extend()
-  standalone: true
-
-  isComplete: -> @standalone or super
+  complete: true
 
   confirmChanges: (changes) ->
     bundler = new TransactionBundler(changes, @editor)


class SubstituteLine extends Change
  @extend()
  standalone: true
  register: null

  constructor: (@editor, @vimState) ->
    @register = settings.defaultRegister()
    @target = new Motions.MoveToRelativeLine(@editor, @vimState)


#
class Change extends Insert
  @extend()
  complete: false
  register: null

  constructor: ->
    super
    @register = settings.defaultRegister()

  # Public: Changes the text selected by the given motion.
