Vim Folds¶ Resources¶ VimCasts: Writing a custom fold expression Folding based on regex¶ Let's say you have a paragraph that you want to always get folded in a buffer. Eg. foam adds the following to every page: So, to auto fold the above, you would need: ```vim