💾 Archived View for perso.pw › blog › articles › emacs-fold.gmi captured on 2023-06-16 at 16:55:03. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-05-24)

➡️ Next capture (2024-03-21)

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

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)