Andrew Channels Dexter Pinion

Wherein I write some stuff that you may like to read. Or not, its up to you really.

April 20, 2004

Invoking HTML Tidy from VIM

I'm editing a lot of HTML pages at the moment. I wondered if there was a way to call HTML Tidy from within VIM.

Of course there is. Thanks to paragraph 15.5 on this page I found out that it's a two step process. Within VIM type;

  :compiler tidy

To tell the editor that you want tidy as your compiler of choice (I don't know why, I just make it work), then within your HTML page just save and then type;


And Bob is really your Aunty's live in lover. Tidy will tell you what, if anything, you've got wrong. I love this editor.

Posted by Andy Todd at April 20, 2004 02:05 PM