abo-abo/oremacs

How to fold based on ;;* syntax

Closed this issue · 2 comments

Hi there, I enjoy how hand-crafted and minimal your config files are. It seems like you organize them not through whitespace but through hierarchical, org-like delimiters e.g. ;;* ;;** etc.

I imagine you must also make them fold visually. How do you do this? Is there some package you're using or is it a similarly hand-crafted solution?

I use lispy for this.

  • enable lispy-mode
  • put the point on ;;
  • press i to toggle one heading
  • press I to toggle all headings
  • press C-u I to make a table of contents

Thank you!