Learn Essential Vim Skills
with Drew Neil, author of Practical Vim
folding
category applies to 2 screencasts:
Run time:
With a little bit of Vimscript, you can create a custom folding expression for any filetype. We’ll start by looking at the mechanics of folding with markers, then go on to create a folding expression for markdown documents.
Watch screencastHow to fold
#37
Run time:
Vim’s folding feature enables us to expand and collapse regions of a document. Not only does this allow us to organize our workspace, it also makes it easy to navigate around the document, and to rearrange entire sections as though they were single lines.
Watch screencast