altercation / vim-colors-solarized

precision colorscheme for the vim text editor
http://ethanschoonover.com/solarized
6.58k stars 1.75k forks source link

why the color theme is terrible in xterm of Ubuntu? #202

Open liao20081228 opened 6 years ago

liao20081228 commented 6 years ago

I use the theme in Ubuntu 16.04 , and I add

export TERM=xterm-256color

to ~/.bashrc, add


set t_Co =256 
set  background=dark
syntax enable
synatax on
colorscheme solorized

to ~/.vimrc.

I use xterm of Xshell5 in Windows to connect Ubuntu,but the vim is: pic)

So, it is incorrect , and what should I do?Thanks!

Synchen commented 6 years ago

Your .vimrc should at least look like this:

syntax enable

set background=dark
let g:solarized_termcolors=256
colorscheme solarized

You have a few little typos like synatax or solorized and you don't need syntax enable and syntax on