Function: evil-set-col-0-mark

evil-set-col-0-mark is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-set-col-0-mark BEG END MARK)

Documentation

Set MARK at column 0 of line of END.

Default is cursor line.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-set-col-0-mark (_beg end mark)
  "Set MARK at column 0 of line of END.
Default is cursor line."
  (interactive "<r><a>")
  (if (< 1 (length mark))
      (user-error "Trailing characters")
    (save-excursion
      (goto-char (if (eobp) end (1- end)))
      (evil-beginning-of-line)
      (evil-set-marker (string-to-char mark)))))