2019-02-18 00:01:58 -05:00
#+TITLE : editor/fold
#+DATE : February 17, 2019
#+SINCE : v2.1
#+STARTUP : inlineimages
* Table of Contents :TOC_3:noexport:
2020-10-24 00:27:09 +03:00
- [[#description ][Description ]]
- [[#module-flags ][Module Flags ]]
- [[#plugins ][Plugins ]]
- [[#prerequisites ][Prerequisites ]]
- [[#features ][Features ]]
- [[#configuration ][Configuration ]]
- [[#troubleshooting ][Troubleshooting ]]
2019-02-18 00:01:58 -05:00
* 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.
** Plugins
2020-12-17 20:25:23 +02:00
+ [[https://github.com/alexmurray/evil-vimish-fold ][evil-vimish-fold ]]
+ [[https://github.com/matsievskiysv/vimish-fold ][vimish-fold ]]
2019-02-18 00:01:58 -05:00
* Prerequisites
This module has no prerequisites.
2020-10-24 00:27:09 +03:00
* Features
Emacs keybinds when evil +everywhere is disabled.
2020-10-30 20:27:24 +02:00
| 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 |
2021-07-29 18:46:08 -05:00
| =C-c C-f C-a C-f= | Fold all regions |
| =C-c C-f C-a C-u= | Unfold all regions |
2020-10-30 20:27:24 +02:00
| =C-c C-a C-d= | Delete all folded regions |
2019-02-18 00:01:58 -05:00
* TODO Configuration
2020-10-24 00:27:09 +03:00
* Troubleshooting
2020-10-30 20:27:24 +02:00
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.