Prettyfying XML within Vim

Vim is not an island. Sometimes, the best way to do something is an external program.nAssuming the XML is well-formed, this will do:nn:%!xmllint –format %

Leave a Reply