sukima/xmledit — pull request #29 by tfnico (2013-09-11 09:50:09+00:00)
Title: Format/prettify xml

I expected xmledit to contain some shortcut for formatting or prettifying XML, but couldn't find any such feature.

So I just quickly copied in one I found in http://vim.wikia.com/wiki/Pretty-formatting_XML

Note that I've never done any vimscript before, this is just copying stuff in :8ball: