Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

Thanks.

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
add comment

1 Answer

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

Where

-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
1  
@dotancohen You're right, see my edit –  Bernhard Apr 20 '12 at 20:51
add comment

Your Answer

 
discard

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.