💾 Archived View for perso.pw › blog › articles › emacs-fold.gmi captured on 2022-06-11 at 20:56:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-17)

➡️ Next capture (2023-01-29)

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

Fold functions in emacs

NIL=> Comment 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)