On Wed, Jul 14, 2010 at 12:27 AM, Tha.Suresh <[email protected]> wrote:
>  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.

Brilliant tip.

Before doing that try these:

:sy on

:se nu

:se background=dark

-Girish


-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to