Function: evil-goto-error
evil-goto-error is an interactive and byte-compiled function defined
in evil-commands.el.
Signature
(evil-goto-error COUNT)
Documentation
Go to error number COUNT.
If no COUNT is supplied, move to the current error.
Acts like first-error other than when given no counts, goes
to the current error instead of the first, like in Vim's :cc
command.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-goto-error (count)
"Go to error number COUNT.
If no COUNT is supplied, move to the current error.
Acts like `first-error' other than when given no counts, goes
to the current error instead of the first, like in Vim's :cc
command."
:repeat nil
(interactive "<c>")
(if count
(first-error (if (eql 0 count) 1 count))
(next-error 0)))