-
-# To do:
-# - caret mode
 
 enterInsertMode = ->
   new InsertMode { badge: "I", blurOnEscape: false }

          @copy @selection.toString()
          @selection.deleteFromDocument()

  enterVisualMode: (options = {}) ->
    defaults =
      underEditMode: true


  # An approximation of the vim "w" movement.
  moveForwardWord: (direction) ->
    @runMovement movement for movement in [ "forward word", "forward word", "backward word" ]

  movements:
    "l": "forward character"
