Question

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?

Was it helpful?

Solution

Set the ctermbg to none:

hi Normal ctermbg=none

OTHER TIPS

In addtional of perreal's answer, you also need to

highlight NonText ctermbg=none

this will help make other "nothing exist" region to be transparent.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top