doomemacs/modules/editor/fold
2020-11-04 11:43:26 +02:00
..
autoload Fix code-folding at EOL when cursor isn't at EOL 2020-02-06 15:20:42 -05:00
config.el Remove unnecessary use-package statement 2020-11-04 11:43:26 +02:00
packages.el Bump * 2020-08-19 16:18:11 -04:00
README.org Update documentation with new keybinds 2020-10-30 20:27:24 +02:00

editor/fold

Description

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 provides no flags.

Prerequisites

This module has no prerequisites.

Features

Emacs keybinds when 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-a C-f Refold all regions
C-c C-a C-u Unfold all regions
C-c C-a C-d Delete all folded regions

TODO Configuration

Troubleshooting

Sometimes an unfolded region does not 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.