Function: vi-yank-line

vi-yank-line is an interactive and byte-compiled function defined in vi.el.gz.

Signature

(vi-yank-line ARG)

Documentation

Yank (in vi sense) lines (= yy command).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vi.el.gz
(defun vi-yank-line (arg)
  "Yank (in vi sense) lines (= `yy' command)."
  (interactive "*P")
  (setq arg (cons (1- (vi-prefix-numeric-value arg)) (vi-prefix-char-value arg)))
  (if (vi-yank-op 'next-line arg)
      (vi-set-last-change-command 'vi-yank-op 'next-line arg)))