vim代码折叠之html文件
文章目录
最近编辑html,发现有需要折叠代码,查了一下,做个笔记。
- set foldmethod=manual
- 在某个标签处,
zfat或zfit可以创建一个折叠,然后用za就可以打开或者关闭一个折叠,
I have found zfat (or, equally, zfit) works well for folding with HTML documents. za will toggle (open or close) an existing fold. zR opens all the folds in the current document, zM effectively re-enables all existing folds marked in the document.

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论