Variable: evil-search-wrap
evil-search-wrap is a customizable variable defined in evil-vars.el.
Value
t
Documentation
Whether search with / (evil-search-forward) and ? (evil-search-backward) wraps around the buffer.
If this is non-nil, search stops at the buffer boundaries.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-search-wrap t
"\\<evil-motion-state-map>
Whether search with \\[evil-search-forward] and \
\\[evil-search-backward] wraps around the buffer.
If this is non-nil, search stops at the buffer boundaries."
:type 'boolean
:group 'evil)