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!


  • 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

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.

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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