💾 Archived View for perso.pw › blog › articles › emacs-fold.gmi captured on 2024-05-10 at 11:31:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

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

Fold functions in emacs

NILYou 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)