Sunday, July 29, 2012

Re: background color gray instead of black

On Sat, Jul 28, 2012 at 4:56 PM, Chris Jones <cjns1989@gmail.com> wrote:
> On Sat, Jul 28, 2012 at 03:11:23PM EDT, Britton Kerin wrote:
>> I've tried both these commands:
>>
>> :highlight Normal ctermbg=black
>> :highlight Normal ctermbg=0
>>
>> but the background is still ugly grey not true black.
>>
>> Hmm after a bit more experimentation I find this does what I want:
>>
>> :highlight Normal ctermbg=255
>> :highlight Normal ctermbg=255
>>
>> I guess this has to do with the colorscheme torte that I use in .vimrc,
>> it just seems a bit weird the explicitly setting the color twice to what
>> one would expect to be white is required to get it to be black :)
>>
> What does ':verbose hi Normal' display..?

I am using gnome-terminal with a white on black color scheme.

Initially it looks like this:

:verbose hi Normal
Normal xxx ctermfg=7 ctermbg=0 guifg=Grey80 guibg=Black
Last set from ~/local/share/vim/vim73/colors/torte.vim
Press ENTER or type command to continue

It looks the same after the first ctermbg=255 command above. t After the second
one, the output changes showing ctermbg=255 instead of ctermbg=0.

> What color is the top left rectangle when you run 256colors2.pl from a
> shell prompt..?

I wasn't sure where this script came from and I found a couple of
different versions. One of them first outputs a block called System
colors, and the top left of that is gray. Its had to tell but it
appears to be a bit darker than the gray I get in vim though.

Britton

>
> CJ
>
> --
> SOMEBODY SET UP US THE BOMB
>
> --
> 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 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

No comments: