Re: Changing coloured vi to html or word doc.



On Wed, May 28, 2008 at 8:55 AM, Ray Van Dolson <rvandolson@xxxxxxxx> 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
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Changing coloured vi to html or word doc.
    ... 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. ...
    (RedHat)
  • Re: Changing coloured vi to html or word doc.
    ... Can anyone advice on a method of converting the code (bash) highligting ... Enter command mode in vim ... This should split a new window open containing the HTML version of the ...
    (RedHat)
  • Re: openOffice Php MySQL
    ... I've been using only Kate and Vim in these exercises. ... about this but I have a feeling the editor in Quanta is either based ... You'll find it in the kdewebdev3 package, along with a few other useful ... KLinkStatus--validator for links on HTML pages ...
    (alt.os.linux.suse)
  • Re: Website design : what to use ?
    ... I do a couple of small websites and our company's internal website pretty much ... You get that clean hand-built code, ... vim does everything vi did and adds lots more. ... suggestions for html too. ...
    (Ubuntu)
  • Re: matchit plugin and highlighting
    ... matched pairs (like matching braces in vim 7.1) with the ... highlight opening and closing html tags when the cursor ... It seems to produce reasonable results in html and vim ...
    (comp.editors)