Saturday, July 18, 2015

Re: background=dark-curiosity

2015-07-18 16:11 GMT+03:00 Niels Kobschaetzki <niels@kobschaetzki.net>:
> Hi,
>
> I just noticed something weird in my setup. In my .vimrc I have the
> following setting: "set background=dark" and I am using the color scheme
> desert.
>
> When I do now in the editor: :set background=light
> the colors change as expected
>
> When I do now a :set background=dark
> the colors change again but not to the colors I got when I started vim
> but a bit more brighter which looks actually better.
>
> I wonder now
> a) what is the reason for it?
> b) what can I do to get the even brighter color after setting the
> background to light and back to dark again?
>
> I tried already setting in .vimrc: set backround=dark
> set background=light
> set background=dark
>
> but that didn't work.

:set background additionally acts like `:colorscheme default`. If you
call :colorscheme after this it is up to the colorscheme itself to
(dis)respect &background setting. If you need colors like with `set
background=light` do `set background=light` in the vimrc *and* remove
`:colorscheme desert` call.

>
> Any help is appreciated :)
>
> Niels
>
> --
> --
> 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 vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: