Function: evil-ex-repeat-global-substitute

evil-ex-repeat-global-substitute is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-ex-repeat-global-substitute)

Documentation

Repeat last substitute command on the whole buffer.

This is the same as ":%s//~/&".

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-operator evil-ex-repeat-global-substitute ()
  "Repeat last substitute command on the whole buffer.
This is the same as \":%s//~/&\"."
  :repeat nil
  :jump t
  :move-point nil
  :motion evil-line
  (interactive)
  (apply #'evil-ex-substitute (point-min) (point-max)
         (evil-ex-get-substitute-info (concat "//~/&"))))