Variable: evil-ex-substitute-global

evil-ex-substitute-global is a customizable variable defined in evil-vars.el.

Value

nil

Documentation

If non-nil substitute patterns are global by default.

Standardly (if this variable is nil) a substitution works only on the first match of the pattern in a line unless the "g" flag is given, in which case the substitution happens on all matches in the line. If this option is non-nil, this behavior is reversed.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-ex-substitute-global nil
  "If non-nil substitute patterns are global by default.
Standardly (if this variable is nil) a substitution works only on the
first match of the pattern in a line unless the \"g\" flag is
given, in which case the substitution happens on all matches in the
line. If this option is non-nil, this behavior is reversed."
  :type  'boolean
  :group 'evil)