altercation / vim-colors-solarized

precision colorscheme for the vim text editor

Home Page:http://ethanschoonover.com/solarized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why the color theme is terrible in xterm of Ubuntu?

liao20081228 opened this issue · comments

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!

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