Vim代码折叠命令简介
1. 通过fdm实现代码折叠:set fdm=xxx有以下6种方式实现折叠:|fold-manual|manual Folds are created manually. |fold-indent|indent Lines with equal indent form a fold. |fold-expr| expr "foldexpr" gives the fold level of a line.|fold-marker|marker ...