💾 Archived View for perso.pw › blog › articles › emacs-fold.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

➡️ Next capture (2021-12-17)

-=-=-=-=-=-=-

Fold functions in emacs

on Mastodon

You want to fold (hide) code between brackets like an if statement, a

function, a loop etc.. ? Use the HideShow minor-mode which is part of

emacs. All you need is to enable **hs-minor-mode**. Now you can

fold/unfold by cycling with C-c @ C-c.

[HideShow on EmacsWiki](https://www.emacswiki.org/emacs/HideShow)