Thursday, September 30, 2010

Re: Calling xmltidy for vim/macvim

[as a side note, you'll want to start a fresh thread for maximum
exposure, rather than replying to an unrelated thread]

> Does anyone have any info on how to use xmltidy with macvim and/or vim? I'm sure this is doable i just need some info!

Presuming you have xmltidy on your machine, can you not just use

:%!xmltidy

to run the entire file contents through xmltidy (also assuming
that xmltidy reads untidy input from stdin puts the tidied output
on stdout). And as usual, this can always be mapped to your
favorite key.

-tim


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment