Skip to content

Oliver.net.au

Linux, life and programming

Menu
  • Home
  • About

Tag: xml

Posted onFebruary 16, 2011Computers

Use xmllint and vim to format xml documents

by mattLeave a comment on Use xmllint and vim to format xml documents

If you want vim to nicely format an XML file (and a xena file in this example, 2nd line) then add this to your ~/.vimrc file: ” Format *.xml and *.xena files by sending them to xmllint au FileType xml exe “:silent 1,$!xmllint –format –recover – 2>/dev/null” au FileType xena…

Read More
Amphibious Theme by TemplatePocket ⋅ Powered by WordPress