Function: evil-forward-chars
evil-forward-chars is a byte-compiled function defined in
evil-common.el.
Signature
(evil-forward-chars CHARS &optional COUNT)
Documentation
Move point to the end or beginning of a sequence of CHARS.
CHARS is a character set as inside [...] in a regular expression.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-forward-chars (chars &optional count)
"Move point to the end or beginning of a sequence of CHARS.
CHARS is a character set as inside [...] in a regular expression."
(let ((notchars (if (= (aref chars 0) ?^)
(substring chars 1)
(concat "^" chars))))
(evil-motion-loop (dir (or count 1))
(cond
((< dir 0)
(skip-chars-backward notchars)
(skip-chars-backward chars))
(t
(skip-chars-forward notchars)
(skip-chars-forward chars))))))