Variable: evil-kill-on-visual-paste
evil-kill-on-visual-paste is a customizable variable defined in
evil-vars.el.
Value
t
Documentation
Whether pasting in visual state adds the replaced text to the
kill ring, making it the default for the next paste. The default
replicates the default Vim behavior for p. This value is flipped by
evil-paste-before (M-x evil-paste-before (evil-paste-before)).
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-kill-on-visual-paste t
"Whether pasting in visual state adds the replaced text to the
kill ring, making it the default for the next paste. The default
replicates the default Vim behavior for `p'. This value is flipped by
`evil-paste-before' (\\[evil-paste-before])."
:type 'boolean
:group 'evil)