 {ViewModel} = require './view'
 settings = require './settings'
 Base = require './base'
-Motions = require './motions'
+{
+  MoveToRelativeLine
+  MoveRight
+  MoveLeft
+  MoveToLastCharacterOfLine
+  MoveToRelativeLine
+} = require './motions'
+
 
 class OperatorError extends Base
   @extend()

  complete: true
  constructor: ->
    super
    @compose(new Motions.MoveRight(@vimState))

class DeleteLeft extends Delete
  @extend()
  complete: true
  constructor: ->
    super
    @compose(new Motions.MoveLeft(@vimState))

class DeleteToLastCharacterOfLine extends Delete
  @extend()
  complete: true
  constructor: ->
    super
    @compose(new Motions.MoveToLastCharacterOfLine(@vimState))

#
# It toggles the case of everything selected by the following motion


  constructor: ->
    super
    @compose(new MoveRight(@vimState))

class SubstituteLine extends Change
  @extend()
