Function: corfu-insert-separator
corfu-insert-separator is an interactive and byte-compiled function
defined in corfu.el.
Signature
(corfu-insert-separator)
Documentation
Insert a separator character, inhibiting quit on completion boundary.
If the currently selected candidate is previewed, jump to the input
prompt instead. See corfu-separator for more details.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
(defun corfu-insert-separator ()
"Insert a separator character, inhibiting quit on completion boundary.
If the currently selected candidate is previewed, jump to the input
prompt instead. See `corfu-separator' for more details."
(interactive)
(if (not (corfu--preview-current-p))
(insert corfu-separator)
(corfu--goto -1)
(unless (or (= (car completion-in-region--data) (point))
(= (char-before) corfu-separator))
(insert corfu-separator))))