   execute: ->
     @editor.transact =>
       _.times @getCount(), =>
-        if op = @vimState.operationStack.getRecorded()
-          op.setRepeated()
-          op.execute()
+        if operation = @vimState.operationStack.getRecorded()
+          operation.setRepeated()
+          operation.execute()
 
 # -------------------------
 class Mark extends Operator

  submode: 'replace'

  repeatInsert: (selection, text) ->
    for char in text when char isnt "\n"
      break if selection.cursor.isAtEndOfLine()
      selection.selectRight()
    selection.insertText(text, autoIndent: false)

    swrap(selection).setBufferRange(range, {preserveFolds: true, reversed})
    @editor.scrollToCursorPosition({center: true})

  rotateRows: (rows) ->
    rows.push(rows.shift())

