Function: forward-evil-symbol

forward-evil-symbol is a byte-compiled function defined in evil-common.el.

Signature

(forward-evil-symbol &optional COUNT)

Documentation

Move forward COUNT symbols.

Moves point COUNT symbols forward or (- COUNT) symbols backward if COUNT is negative. Point is placed after the end of the symbol (if forward) or at the first character of the symbol (if backward). A symbol is either determined by forward-symbol, or is a sequence of characters not in the word, symbol or whitespace syntax classes.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun forward-evil-symbol (&optional count)
  "Move forward COUNT symbols.
Moves point COUNT symbols forward or (- COUNT) symbols backward
if COUNT is negative. Point is placed after the end of the
symbol (if forward) or at the first character of the symbol (if
backward). A symbol is either determined by `forward-symbol', or
is a sequence of characters not in the word, symbol or whitespace
syntax classes."
  (evil-forward-nearest
   count
   #'(lambda (&optional cnt)
       (evil-forward-syntax "^w_->" cnt))
   #'(lambda (&optional cnt)
       (let ((pnt (point)))
         (forward-symbol cnt)
         (if (= pnt (point)) cnt 0)))
   #'forward-evil-empty-line))