Variable: evil-buffer-regexps

evil-buffer-regexps is a customizable variable defined in evil-vars.el.

Value

(("^ \\*load\\*"))

Documentation

Regular expressions determining the initial state for a buffer.

Entries have the form (REGEXP . STATE), where REGEXP is a regular expression matching the buffer's name and STATE is one of normal, insert, visual, replace, operator, motion, emacs and nil. If STATE is nil, Evil is disabled in the buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-buffer-regexps
  '(("^ \\*load\\*" . nil))
  "Regular expressions determining the initial state for a buffer.
Entries have the form (REGEXP . STATE), where REGEXP is a regular
expression matching the buffer's name and STATE is one of `normal',
`insert', `visual', `replace', `operator', `motion', `emacs' and
`nil'.  If STATE is `nil', Evil is disabled in the buffer."
  :type '(alist :key-type string :value-type symbol)
  :group 'evil)