Function: evil-middle-of-visual-line

evil-middle-of-visual-line is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-middle-of-visual-line)

Documentation

Move the cursor to the middle of the current visual line.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-motion evil-middle-of-visual-line ()
  "Move the cursor to the middle of the current visual line."
  :type exclusive
  (beginning-of-visual-line)
  (evil-with-restriction
      nil
      (save-excursion (end-of-visual-line) (point))
    (move-to-column
     (+ (current-column) -1 (/ (window-body-width) 2)))))