Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fold all lines in vim

You can close all folds with zM. 
If you have nested folds and you want to fold level by level, use zm. 
To open folds use zR (all) and zr (level by level).
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fold #lines #vim
ADD COMMENT
Topic
Name
4+2 =