Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 simply cannot see the ANSI BLUE colour in a terminal with a black background. How does one grep the installed VIM colorschemes for one that does not use that colour at all? I often SSH into different machines and Cygwin does not seem to have a colour override feature.

Note that using a terminal other than the Cygwin terminal is not the solution. I am a month on-site and cannot play around with this Windows box that I have been given. Otherwise it would be running Debian, not just changing terminals!


share|improve this question
Perhaps set bg=dark would fix the scheme? – grawity Apr 20 '12 at 18:33
Thank you grawity, but I already do have that set! – dotancohen Apr 20 '12 at 18:33
up vote 2 down vote accepted

If you go to the location where the colorschemes are stored, you can easily grep inside these files

cd /usr/share/vim/vimXX/colors
grep -L blue *.vim


-L, --files-without-match Suppress normal output; instead print the name of each input file from which no output would normally have been printed. The scanning will stop on the first match.

Replace blue with the color you want to exclude from the colorscheme.

share|improve this answer
Thanks, but -v only seems to inverse match on line numbers. When using -v with -l, all files are returned! – dotancohen Apr 20 '12 at 18:37
@dotancohen You're right, see my edit – Bernhard Apr 20 '12 at 20:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .