Vim color scheme overriding the background settings in Gnome Terminal

alxyzc picture alxyzc · Feb 5, 2014 · Viewed 25.2k times · Source

I have set my gnome-terminal's background to dark-blue, with a bit of transparency so I can see the underlying webpages or other documents when I code.

I've been using the smyck color scheme, which appears to be my terminal background as its background, so it looks seamless when I enter Vim.

my terminal window on top of a web page (my terminal window on top of a web page)

the very same terminal window entering vim (the very same terminal window entering vim)

Lately I decided to switch to some other color scheme. As I was trying out jellybeans, I noticed that it has overridden my default terminal background settings, both its color and transparency, as you can see below.

the very same terminal window entering vim now with jellybeans (the very same terminal window entering vim now with jellybeans)

I have installed the AfterColors plugin, but I don't know where to start to tweak the color scheme to have the default background back. Any suggestioins?

Answer

perreal picture perreal · Feb 5, 2014

Set the ctermbg to none:

hi Normal ctermbg=none