Custom colorscheme not working on VIM

Bernardo Oliveira picture Bernardo Oliveira · Jan 14, 2011 · Viewed 21.5k times · Source

Here's what I did:

cp ~/.vim/colors/ir_black.vim /usr/share/vim/vim72/colors/

Then tried to open some code and :colorscheme ir_black

It changes a few colors but makes most of the text start to blink with the cursor. It happens with almost all the other custom colorschemes as well. Does anyone have any ideas of what might be wrong?

I added t_Co=256 to my .vimrc file and it didn't seem to help.

PS: I'm on a Mac OS X.

Answer

George picture George · Jan 26, 2011

Set your TERM to xterm-256color. Follow up on the iterm2 mailing list if that still doesn't work.