Function: evil-enter-replace-state

evil-enter-replace-state is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-enter-replace-state COUNT)

Documentation

Switch to Replace state at point.

The insertion will be repeated COUNT times.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(defun evil-enter-replace-state (count)
  "Switch to Replace state at point.
The insertion will be repeated COUNT times."
  (interactive "p")
  (setq evil-insert-count count)
  (setq evil-insert-count count
        evil-insert-lines nil
        evil-insert-vcount nil)
  (evil-replace-state 1))