         @visit(current, null)
 
     if @isComplete()
-      @vimState.searchHistory.save(@input)
+      @vimState.searchHistory.save(@getInput())
       @finish()
 
   # If cursor is passed, it move actual move, otherwise

  @extend()
  wordRegex: null

  initialize: ->
    super
    # FIXME: This must depend on the current language
    defaultIsKeyword = "[@a-zA-Z0-9_\-]+"
    userIsKeyword = atom.config.get('vim-mode.iskeyword')
    @wordRegex = new RegExp(userIsKeyword or defaultIsKeyword)
    unless @input = @getCurrentWord()
      @abort()

  getPattern: (text) ->
    pattern = _.escapeRegExp(text)

  isBackwards: ->
    @backwards

  getInput: ->
    @input

  # Not sure if I should support count but keep this for compatibility to official vim-mode.
  getCount: ->
    count = super
