   # Private: Fetches the last operation.
   #
   # Returns the last operation.
-  tailOperation: ->
+  getTailOperation: ->
     _.last @operationsQueue
 
   # Private: Fetches the value of a given register.


    @changeModeClass('normal-mode')

    @clearOperations()
    selection.clear(autoscroll: false) for selection in @editor.getSelections()
    for cursor in @editor.getCursors()
      if cursor.isAtEndOfLine() and not cursor.isAtBeginningOfLine()

  #
  # Returns nothing.
  resetNormalMode: ->
    @clearOperationsQueue()
    @editor.clearSelections()
    @activateNormalMode()

