Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have urxvt running in real transparency mode using xcompmgr. Everything looks great but I would like my vim colorscheme to respect the transparency setting. Is this possible?

share|improve this question
up vote 4 down vote accepted

Vim itself won't be able to apply varying alpha levels to its colors. You'll have to change the Normal highlight in your colorscheme from:

hi Normal ctermbg=<whatever> ctermfg=<whatever>


hi Normal ctermfg=<whatever>

In short: remove your colorscheme's backgound color definition.

share|improve this answer

And in case you don't know or don't wanto to look for your current foreground color, you can also set the backgour color to none

hi Normal ctermbg=NONE

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.