Has anyone written a utility to convert syntax highlighted vim
to a printable or displayable format like html, rtf or pdf?
I have my own customised highlight rules and want to be lazy and
just autogenerate to a format that I can send to someone.
Am I in luck?
--
- Eric Smith
--
You received th
On 08/24/10 14:18, Eric Smith wrote:
Has anyone written a utility to convert syntax highlighted vim
to a printable or displayable format like html, rtf or pdf?
If you want HTML, Vim comes with it stock:
:help 2html
and following for various methods of using Vim's HTML-generation
methods.
On Tuesday 24 August 2010 14:18:18 Eric Smith wrote:
> Has anyone written a utility to convert syntax highlighted vim
> to a printable or displayable format like html, rtf or pdf?
> I have my own customised highlight rules and want to be lazy
> and just autogenerate to a format that I can send to
Damn, why do I only hear about this now?
Any cool vim twitterers that can let me know when stuff like this and
serialisable undo tree (yes I saw that in the changes file of 7,3)
become available.
:TOhtml - how` cool is that :)
--
- Eric Smith
sc said:
> On Tuesday 24 August 2010 14:18:18 Eric
On 08/24/10 14:49, Eric Smith wrote:
Any cool vim twitterers that can let me know when stuff like this and
serialisable undo tree (yes I saw that in the changes file of 7,3)
become available.
:TOhtml - how` cool is that :)
I don't know of any twitter feeds on tips like that, but there's
a Vim
However, I am not getting non-ascii rendering in my html - in the
terminal even Icelandic is perfectly rendered.
I tried setting the var below to my $LANG variable.
:let g:html_use_encoding = "en_US.UTF-8"
no joy
Is there a fix?
--
- Eric Smith
Eric Smith said:
> Damn, why do I only hear abou
With
:let g:html_use_encoding = "utf-8"
--
- Eric Smith
Eric Smith said:
> However, I am not getting non-ascii rendering in my html - in the
> terminal even Icelandic is perfectly rendered.
>
> I tried setting the var below to my $LANG variable.
> :let g:html_use_encoding = "en_US.UTF-8"
>
> n
On Aug 24, 4:52 pm, Eric Smith wrote:
>
> > However, I am not getting non-ascii rendering in my html - in the
> > terminal even Icelandic is perfectly rendered.
>
> > I tried setting the var below to my $LANG variable.
> > :let g:html_use_encoding = "en_US.UTF-8"
>
> > no joy
>
> > Is there a fi