9
votes
1answer
1k views

Vim: Making XML text “pretty”

Is there an easy way within vi to make your XML text "pretty"? For example: I want this.. <person> <name>Nick</name> <age>26</age> ...
0
votes
1answer
304 views

Vim not showing garbage characters

I copied the content of an ant build.xml document from an .odt file to Vim editor. There were no garbage characters I could observe, but the build process failed due to incorrect XML tags. I assume ...
3
votes
1answer
508 views

VIM jump from one xml tag to the closing one

Is there a shortcut to jump from , e.g <XX> to </XX> ? I already give it a try with '%' , but it doesn't work for this situation.