Function: evil-insert-digraph
evil-insert-digraph is an interactive and byte-compiled function
defined in evil-commands.el.
Signature
(evil-insert-digraph COUNT)
Documentation
Insert COUNT digraphs.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-insert-digraph (count)
"Insert COUNT digraphs."
:repeat change
(interactive "p")
(let ((opoint (point))
chars-to-delete insert-prompt)
(if (evil-replace-state-p)
(progn
(setq chars-to-delete (min (- (line-end-position) opoint) count)
insert-prompt (make-overlay opoint (+ chars-to-delete opoint)))
(evil-update-replace-alist opoint count chars-to-delete))
(setq insert-prompt (make-overlay opoint opoint)))
(insert-char (evil-read-digraph-char-with-overlay insert-prompt) count)
(when chars-to-delete (delete-char chars-to-delete))))