Thursday, September 30, 2010

Re: Calling xmltidy for vim/macvim

On Wed, Sep 29, 2010 at 10:22:11PM -0500, Russell Urquhart wrote:
> Hi,
>
> 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!
>
> Thanks,
> Russ

If you want to run xmltidy on the current buffer, use

:%!xmltidy

(I've never used xmltidy, if it's well written, this will works.)

This works with all filter programs (sort, grep, etc.).

Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

No comments: