doomemacs/modules/editor/fold
Henrik Lissner 37dbc99778
fix(fold): truncate-string-to-width: type errors
In 9a6bcc3, the new default for `truncate-string-ellipsis` was long
enough that it could cause `truncate-string-to-width` to error out (see
exceeded `truncate-string-to-width`s END-COLUMN argument.

Amend: 9a6bcc31f9
Fix: #8044
2024-09-11 20:41:13 -04:00
..
autoload refactor(fold): move +fold-hideshow-folded-face & unstyle +ts-fold-replacement-face 2024-08-27 03:13:57 -04:00
config.el fix(fold): truncate-string-to-width: type errors 2024-09-11 20:41:13 -04:00
packages.el bump: :editor 2024-08-09 17:41:49 -04:00
README.org docs(*): replace all-the-icons with nerd-icons 2023-09-16 20:19:11 +02:00

:editor fold

Description   unfold

This module marries doom-package:hideshow, doom-package: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 doom-module::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?