Function: evil-align-right

evil-align-right is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-align-right BEG END &optional TYPE WIDTH)

Documentation

Right-align lines in the region at WIDTH columns.

The default for width is the value of fill-column.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-operator evil-align-right (beg end _type &optional width)
  "Right-align lines in the region at WIDTH columns.
The default for width is the value of `fill-column'."
  :motion evil-line
  :type line
  (interactive "<R><a>")
  (evil-justify-lines beg end 'right (if width
                                         (string-to-number width)
                                       fill-column)))