Function: evil-search-previous

evil-search-previous is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-search-previous &optional COUNT)

Documentation

Repeat the last search in the opposite direction.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-motion evil-search-previous (count)
  "Repeat the last search in the opposite direction."
  :jump t
  :type exclusive
  (dotimes (_ (or count 1))
    (evil-search (if evil-regexp-search
                     (car-safe regexp-search-ring)
                   (car-safe search-ring))
                 (not isearch-forward) evil-regexp-search)))