set foldmethod=indent use zo and zc to fold and unfold in normal mode use zR and zM to fold and unfold all folds