I set vim colorscheme in vimrc:
syntax on
syntax enable
set background=dark
set t_Co=256
colorscheme solarized
But the effect is different from the one above http://ethanschoonover.com/solarized. Solarized is also installed. What's going on? Is there any configuration required?
What is your operating system? Are you running vim, gVim or macvim? Which version of vim is it?
Try this:
Delete
set t_Co=256
Add
let g:solarized_termcolors=16
If it still doesn’t work, please try modifying the
g:solarized_termcolors
和g:solarized_termtrans
two parameters.Reference document: http://ethanschoonover.com/solarized/vim-colors-solarized (Option Details)
Operation effect under terminal:
Operation effect under macvim:
How did you install it? It is recommended to use vundle to manage vim plug-ins
If you installed it using vundle, you need to copy or move the .vim file to ~/.vim/colors/solarized.vim