Remove folds recursively
zD
Example
Normal 0 / 1Normal 1 / 1outer start
first
second
third
outer end
separator
last lineCursor on line 1, column 1outer start
first
second
third
outer end
separator
last lineCursor on line 1, column 1Remove folds recursively.
Folds
- Line 1 · level 1 Active
closed · lines 1–5- Line 2 · level 2
closed · lines 1–5- Line 3 · level 2
closed · lines 1–5- Line 4 · level 2
closed · lines 1–5- Line 5 · level 1
closed · lines 1–5
Option · foldenable
- Local foldenable
1- Global foldenable
1
Option · foldlevel
- Local foldlevel
0- Global foldlevel
0
Remove folds recursively
Folds
Option · foldenable
- Local foldenable
1- Global foldenable
1
Option · foldlevel
- Local foldlevel
0- Global foldlevel
0
Before & after
outer start
first
second
third
outer end
separator
last lineCursor on line 1, column 1Folds
- Line 1 · level 1 Active
closed · lines 1–5- Line 2 · level 2
closed · lines 1–5- Line 3 · level 2
closed · lines 1–5- Line 4 · level 2
closed · lines 1–5- Line 5 · level 1
closed · lines 1–5
Option · foldenable
- Local foldenable
1- Global foldenable
1
Option · foldlevel
- Local foldlevel
0- Global foldlevel
0
outer start
first
second
third
outer end
separator
last lineCursor on line 1, column 1Folds
Option · foldenable
- Local foldenable
1- Global foldenable
1
Option · foldlevel
- Local foldlevel
0- Global foldlevel
0
Start in Normal mode. Manual folds and nested ranges are prepared explicitly. The panel distinguishes fold membership from whether the fold is closed.
Details & Vim help
Example replayed in Vim
Remove folds recursively. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.