Function: evil-move-to-column

evil-move-to-column is an interactive and byte-compiled function defined in evil-common.el.

Signature

(evil-move-to-column COLUMN &optional DIR FORCE)

Documentation

Move point to column COLUMN in the current line.

Places point at left of the tab character (at the right if DIR is non-nil) and returns point.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-move-to-column (column &optional dir force)
  "Move point to column COLUMN in the current line.
Places point at left of the tab character (at the right if DIR
is non-nil) and returns point."
  (interactive "p")
  (move-to-column column force)
  (unless force
    (when (or (not dir) (and (numberp dir) (< dir 1)))
      (when (> (current-column) column)
        (evil-move-cursor-back))))
  (point))