Re: TOhtml "plugin"
- Angelina Carlton wrote:
> I am new to this list, and relatively new toYou can use the ":colorscheme" command before invoking ":TOhtml".
> Vim. I'd like to ask a question that I have been
> unable to google with any success.
> The :TOhtml command is very useful to me but I
> would like to alter the colors it chooses for
> the background and foreground of the html page.
> Im using vim 2.6.3 on Debian sid, this is inThis should be done in gvim, because in a terminal only a few colors are
> a terminal, not gvim.
> I think it might use /usr/share/vim/vim63/syntax/2html.vimIf a colorscheme doesn't produce a good result, you can either write a
> Basiclly, Id like it to set bgcolor="#000000" text="#00ffff" for all
> the files it creates. In Gvim I can set the "theme" to this
> background/foreground combination and not worry about it. I cant do
> this inside urxvt/vim
new colorscheme or modify the produced HTML afterwards.
> One line I notice in the 2html.vim file isYes, use this command before invoking ":TOhtml":
> if exists ("html_use_css")
> This means I could create a stylesheet and this script
> would obey it?
:let html_use_css = 1
hundred-and-one symptoms of being an internet addict:
10E. You start counting in hex.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
> Basiclly, Id like it to set bgcolor="#000000" text="#00ffff" for all thefiles
> it creates. In Gvim I can set the "theme" to this background/foregroundthere's a colorshceme ?'print bw' that might be a good starting point.
> combination and not worry about it. I cant do this inside urxvt/vim