You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use helm-swoop as a kind of toc tool for several modes like python, lisp and latex?
E.g. I would set for python the following outlines:
1st header: #=
2nd header: #-
3nd header: #.
similar for lisp:
1st header: ;=
2nd header: ;-
3nd header: ;.
And for latex, e.g.:
1st header: \section
2nd header: \subsection
3nd header: \subsection
So for my understanding, one would need different pre-inputs for the 3 headers and its active mode.
I am not sure if this is correct and actually do not know how to do this...
Does anyone have a suggestion how I could achieve this?
Best Regards
Fab
The text was updated successfully, but these errors were encountered:
Maybe you want imenu. There are leaf integration for imenu. conao3/leaf.el#300
If you write some definitions for it, you can use imenu for the toc. And there are helm-imenu, so the purpose is out of this package purpose.
If you want to use swoop to skim some header line. you can use something like<HEADER-RE> <CONTENT-RE>. Insert a space between two regexp can ask swoop to filter out lines that match both of two re.
Hi,
I would like to use helm-swoop as a kind of toc tool for several modes like python, lisp and latex?
E.g. I would set for python the following outlines:
1st header: #=
2nd header: #-
3nd header: #.
similar for lisp:
1st header: ;=
2nd header: ;-
3nd header: ;.
And for latex, e.g.:
1st header: \section
2nd header: \subsection
3nd header: \subsection
So for my understanding, one would need different pre-inputs for the 3 headers and its active mode.
I am not sure if this is correct and actually do not know how to do this...
Does anyone have a suggestion how I could achieve this?
Best Regards
Fab
The text was updated successfully, but these errors were encountered: