Hi Martin!

On Mi, 11 Dez 2013, Martin Lundberg wrote:

> On Wednesday, December 11, 2013 9:48:08 PM UTC+1, Christian Brabandt wrote: 
> > Does it change with vim --cmd ':set bg=dark' or
> > vim --cmd ':set bg=light'
> > ?
> 
> Nope, still get the green color using any of the above.

It should use a light green when Vim is using :set bg=dark and a dark 
green for :set bg=light Are you sure, nothing is resetting the 
background setting afterwards? If I do
vim -u NONE -N --cmd 'set bg=dark'
and then :hi MoreMsg I get this
MoreMsg        xxx term=bold ctermfg=121 gui=bold guifg=SeaGreen
while with this:
vim -u NONE -N --cmd 'set bg=light'
I see
MoreMsg        xxx term=bold ctermfg=2 gui=bold guifg=SeaGreen
(and each time, the 'xxx' are colored slightly different)

I think the point is, when starting up. you won't be able to reconfigure 
Vim to use a different color other then the compiled in ones, unless you 
use some hacks with --cmd=':colors colorscheme' or so
(I am not sure, if setting 'bg' early in your .vimrc might make a 
difference). 

> > Sorry, don't know iTerm2 well. From a quick google search xterm-256color 
> > seems to be correct. Can't you configure it for other colors?
> 
> What do you mean configure it for other colors? I can change the color for 
> normal and light green but I use a dark theme in my terminal where I want the 
> colors configured but then I use a light color in vim :)

I thought, you can configure, what colors it uses for e.g. a darkgreen 
or lightgreen (e.g. ctermcolor 2 and 121).

Best,
Christian
-- 
Tatsächlich sind es die wichtigsten Momente im Leben, wenn wir allein 
sind.
                -- Anne Morrow Lindbergh

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to