   execute: (count=1) ->
     text = ""
     type = if @motion.isLinewise then 'linewise' else 'character'
-
     originalPosition = @editor.getCursorScreenPosition()
+
     _.times count, =>
       if _.last(@motion.select())
         text += @editor.getSelection().getText()

  execute: (count=1) ->
    {text, type} = @vimState.getRegister(@register) || {}
    return unless text
    buffer = @editor.getBuffer()

    buffer.transact =>
      _.times count, =>
        if type == 'linewise' and @location == 'after'
          @editor.moveCursorDown()

  #
  # Returns nothing.
  execute: (count=1) ->
    @undoTransaction =>
      _.times count, =>
        @editor.joinLine()

module.exports = { OperatorError, Delete, Yank, Put, Join, Indent, Outdent, Change }
