     @historyLocation = -1
     @view = new VimCommandModeInputView(@, class: 'search')
     @editor.commandModeInputView = @view
-    @view.editor.on 'core:move-up', @increaseHistorySearch
-    @view.editor.on 'core:move-down', @decreaseHistorySearch
+    @view.editor.on('core:move-up', @increaseHistorySearch)
+    @view.editor.on('core:move-down', @decreaseHistorySearch)
 
   restoreHistory: (location) ->
     @view.editor.setText(@history(location).searchTerm)

    else
      @reverse = reverse or @initiallyReversed

    return @

  # Private
  match: (count, callback) ->


  confirm: (view) =>
    @searchTerm = view.value
    @state.pushSearchHistory(@)
    @editorView.trigger('vim-mode:search-complete')

  repeat: (opts = {}) =>
    reverse = opts.backwards
