David542
David542

Reputation: 110093

vim colorscheme executing but not changing colors

I have installed a color scheme called ashen.vim to my ~/.vimrc/colors folder. When I am in vim I am able to execute the color scheme by doing :colorscheme ashen, but the actual colors of the file do not change at all. (Color scheme downloaded from http://vimcolorschemetest.googlecode.com/svn/html/index-java.html ). Is there something else I need to do to 'activate' the color scheme?

Upvotes: 2

Views: 3044

Answers (1)

d11wtq
d11wtq

Reputation: 35298

You probably need to tell vim to use 256 colors. Add:

" 256-color terminal
set t_Co=256

To the top of your ~/.vimrc. Of course, if your terminal does not support 256 colors, this isn't really going to work.

Upvotes: 8

Related Questions