Function: evil-yank-line

evil-yank-line is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-yank-line BEG END &optional TYPE REGISTER)

Documentation

Save whole lines into the kill-ring.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-operator evil-yank-line (beg end type register)
  "Save whole lines into the kill-ring."
  :motion evil-line-or-visual-line
  :move-point nil
  (interactive "<R><x>")
  (cl-destructuring-bind
      (beg end type) (evil-expand-line-for-line-based-operators beg end type)
    (evil-yank beg end type register)))