Function: evil-scroll-line-to-center-first-non-blank

evil-scroll-line-to-center-first-non-blank is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-scroll-line-to-center-first-non-blank COUNT)

Documentation

Scroll line number COUNT (or the cursor line) to the center of the window.

Then move the cursor to the first non-blank character of that line.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-scroll-line-to-center-first-non-blank (count)
  "Scroll line number COUNT (or the cursor line) to the center of the window.
Then move the cursor to the first non-blank character of that line."
  :repeat nil
  :keep-visual t
  (interactive "<c>")
  (evil-scroll-line-to-center count)
  (evil-first-non-blank))