I'm using Ubuntu 16.04 LTS with vim 7.4 and screen installed. My question is why when I open vim in the default ubuntu terminal the background
option is dark
while open it in gnu-screen it is light
.
You can see subtle different in syntax highlighting when open in those terminals.
Where did it get that values?
Let vim guess for the background values both gives light
. (i.e :set bg& bg?
)
I've been dive through the vimfiles but found no suspect.
Maybe it lies somewhere in vim's config files but I've not found out yet or is there another mechanism of setting the default background option in vim?
Summary
$ vim
:set bg?
background=dark
:set bg&
:set bg?
background=light
:q
$ screen
$ vim
:set bg?
background=light ???
:set bg&
:set bg?
background=light