Convert Code To HTML Using Vim

If you wrote some elegant code, and want to publish it as a HTML page,
you can easily do that in vim:
In command mode, type this:

   :TOhtml

A new buffer will be opened with the HTML source, just save it:

   :wq

If the original file name was “thasucode.c”, you’ll find a new file in
the same directory named “thasu.c.html”. Open it with your favorite
web browser.


--
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to