reddit / emacs

Ways to jump around in evil-surround?

jmite · 2022-11-26 22:36
I'm wondering, are there any ways to use evil-tex (or evil-surround more broadly) for motion? For example, if I'm at a `\begin{env}`, I might want to jump to the matching `\end{env}`. Is there a general way to jump to the end of a surrounding-pair in evil-surround? `%` doesn't seem to do the trick, it only looks at parentheses and such, not custom pairs defined by evil-surround.
MitchellMarquez42 · 2022-11-27 04:12
Check out the package `` evil-matchit