Function: evil-ex-repeat-substitute-with-search
evil-ex-repeat-substitute-with-search is an interactive and
byte-compiled function defined in evil-commands.el.
Signature
(evil-ex-repeat-substitute-with-search BEG END &optional FLAGS)
Documentation
Repeat last substitute command with last search pattern.
This is the same as ":s//~/r".
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-operator evil-ex-repeat-substitute-with-search (beg end flags)
"Repeat last substitute command with last search pattern.
This is the same as \":s//~/r\"."
:repeat nil
:jump t
:move-point nil
:motion evil-line
(interactive "<r><a>")
(apply #'evil-ex-substitute beg end
(evil-ex-get-substitute-info (concat "//~/r" flags))))