     num = parseInt(atom.keymap.keystrokeStringForEvent(e.originalEvent))
     if @topOperation() instanceof Prefixes.Repeat
       @topOperation().addDigit(num)
-      false
     else
       if num is 0
         e.abortKeyBinding()
-        false
       else
-        new Prefixes.Repeat(num)
+        @pushOperations(new Prefixes.Repeat(num))
 
   # Private: Figure out whether or not we are in a repeat sequence or we just
   # want to move to the beginning of the line. If we are within a repeat

  #
  # Returns nothing.
  setupCommandMode: ->
    # Commands here start a new mode instead of popping the operation stack
    # immediately.
    @editorView.command 'vim-mode:search', =>
      @currentSearch = new Motions.Search(@editorView, @)
    @editorView.command 'vim-mode:reverse-search', =>
      @currentSearch = new Motions.Search(@editorView, @)
      @currentSearch.reversed()
    @editorView.command 'vim-mode:replace', =>
      @currentReplace = new Operators.Replace(@editorView, @)

    @editorView.command 'vim-mode:activate-command-mode', => @activateCommandMode()
    @editorView.command 'vim-mode:activate-insert-mode', => @activateInsertMode()
    @editorView.command 'vim-mode:activate-linewise-visual-mode', => @activateVisualMode('linewise')
    @editorView.command 'vim-mode:activate-characterwise-visual-mode', => @activateVisualMode('characterwise')
    @editorView.command 'vim-mode:activate-blockwise-visual-mode', => @activateVisualMode('blockwise')
    @editorView.command 'vim-mode:reset-command-mode', => @resetCommandMode()

    @handleCommands
      'substitute': => new Commands.Substitute(@editor, @)
      'substitute-line': => new Commands.SubstituteLine(@editor, @)
      'insert-after': => new Commands.InsertAfter(@editor, @)

      'scroll-up': => new Scroll.ScrollUp(@editorView, @editor)
      'select-inside-word': => new TextObjects.SelectInsideWord(@editor)
      'register-prefix': (e) => @registerPrefix(e)
      'repeat': (e) => new Operators.Repeat(@editor, @)
      'search-complete': (e) => @currentSearch
      'replace-complete': (e) => @currentReplace
