Skip to content

Document code folding commands and backends#2006

Open
kovan wants to merge 1 commit intoemacs-evil:masterfrom
kovan:docs/folding
Open

Document code folding commands and backends#2006
kovan wants to merge 1 commit intoemacs-evil:masterfrom
kovan:docs/folding

Conversation

@kovan
Copy link
Copy Markdown

@kovan kovan commented Mar 14, 2026

Adds a "Code folding" section to the overview documenting:

  • Vim-style keybindings (zo, zO, zc, za, zr, zm) and their commands
  • All supported folding backends (hs-minor-mode, outline-minor-mode, org-mode, origami-mode, vdiff-mode, hide-ifdef-mode, markdown-mode)
  • How to enable folding in prog-mode
  • How to customize evil-fold-list for additional backends

Verified against evil-maps.el, evil-commands.el, and evil-vars.el.

Fixes #1380

Add a section to the overview documenting the Vim-style folding
keybindings (zo, zO, zc, za, zr, zm), the supported folding
backends, and how to customize evil-fold-list.

Verified against evil-maps.el (keybindings), evil-commands.el
(fold commands), and evil-vars.el (evil-fold-list definition
with all supported backends).

Fixes emacs-evil#1380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add code folding to the docs

1 participant