For functions, use M-x imenu or consult-imenu for flattened results. For if/for statements, just isearch. If you're an evil user, mark the point (mx means the point is stored in x ) then jump back ('x).
M-x imenu
consult-imenu
if
for
isearch
mx
x
'x
For functions, use
M-x imenu
orconsult-imenu
for flattened results. Forif
/for
statements, justisearch
. If you're an evil user, mark the point (mx
means the point is stored inx
) then jump back ('x
).