doomemacs/modules/editor/fold
Henrik Lissner ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
..
autoload nit(fold): fix non idiomatic code 2022-05-22 21:26:08 +01:00
config.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
packages.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:editor fold

Description   unfold

This module marries hideshow, vimish-fold, and outline-minor-mode to bring you marker, indent and syntax-based code folding for as many languages as possible.

Module flags

This module has no flags.

TODO Hacks

🔨 This module's hacks haven't been documented yet. Document them?

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module has no external requirements.

TODO Usage

🔨 This module's usage documentation is incomplete. Complete it?

Emacs keybinds when :editor evil +everywhere is disabled:

Keybind Description
C-c C-f C-f Fold region
C-c C-f C-u or C ` Unfold region
C-c C-f C-d Delete folded region
C-c C-f C-a C-f Fold all regions
C-c C-f C-a C-u Unfold all regions
C-c C-a C-d Delete all folded regions

TODO Configuration

🔨 This module has no configuration documentation yet. Write some?

Troubleshooting

  • Sometimes, an unfolded region won't fold back with C-c C-f C-f. To bypass this bug you must delete the folded region (C-c C-f C-d) and then fold it (C-c C-f C-f) again.

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

🔨 This module has no appendix yet. Write one?