Tip 797 Printable Monobook Previous Next

created October 1, 2004 · complexity basic · author Pim Snel · version 6.0

When you set foldmethod=indent all folds are closed when you open a file. If you set the foldlevel to a high setting, files are always started with opened folds. Put the settings below in your vimrc:

set foldmethod=indent
set foldlevel=20


Community content is available under CC-BY-SA unless otherwise noted.