Folds
- Folds allow one to hide away parts of the code, so they won't interfere with the code flow.
- One can set up a fold using
zf[movement]
. - One can open a fold using
zo
. zc
closes a fold again.zO
opens all folds and sub-folds recursively.
- The
:[Range]fold
(or:[Range]fo
) acts likezf
. zE
eliminates all folds in the window.zi
toggles folding on and off.- For more information see :h fold.txt