Function: vertico-save

vertico-save is an interactive and natively compiled function defined in vertico.el.

Signature

(vertico-save)

Documentation

Save current candidate to kill ring.

Key Bindings

vertico-map <copy> vertico-map C-<insert> vertico-map C-<insertchar> vertico-map M-w

Source Code

;; Defined in /nix/store/h1nc2k1rxmi6k9cfflcd37cf4zfhp2v5-emacs-packages-deps/share/emacs/site-lisp/elpa/vertico-20260913.1525/vertico.el
(defun vertico-save ()
  "Save current candidate to kill ring."
  (interactive)
  (if (or (use-region-p) (not transient-mark-mode))
      (call-interactively #'kill-ring-save)
    (kill-new (substring-no-properties (vertico--candidate)))))