WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

Make mvim or windows vim xml collapse and expand

Submitted by barnettech on Mon, 04/01/2019 - 10:21

put the following in your .vimrc file

let g:xml_syntax_folding=1
au FileType xml setlocal foldmethod=syntax

zo, and zc open and close one section under the cursor,