Changing coloured vi to html or word doc.

Jose R R jose.r.r at metztli.com
Thu May 29 08:01:34 UTC 2008


On Wed, May 28, 2008 at 8:55 AM, Ray Van Dolson <rvandolson at esri.com> wrote:

> On Wed, May 28, 2008 at 08:43:24AM -0700, Gerrard Geldenhuis wrote:
> > Hi
> >
> > Can anyone advice on a method of converting the code (bash) highligting
> > in vim to html or something else that I can use in ms word.
> >
>
> [...]



> 3. Enter in the following:
>
>    :runtime! syntax/2html.vim
>
> [...]



> 2html.vim should be part of the vim-common package.
>
> Ray


Cool, indeed!  Although my preferred vi clone is Elvis, having the ability
to format text content into HTML with 2html.vim under Vim represents another
tool under my Linux belt.  Echoing Gerrard, thank you Ray.

Jose R Rodriguez
http://www.metztli-it.com



More information about the redhat-list mailing list