Source: http://www.cnblogs.com/xia520pi/p/3682348.html
Solarized is a color scheme that includes light and dark colors, which can make a clear contrast. Apply to many applications to make your application look more beautiful. Look at this color: Gossip universe, pleasing, high-end atmospheric grade.
Website address: http://ethanschoonover.com/solarized 2, Vim
Just download and place the color file Solarized.vim for vim in the ~/.vim/colors directory.
And then set the ". VIMRC"
Syntax enable
Syntax on
Set Nu
Set t_co=256
Set Background=dark
ColorScheme solarized
Syntax highlighting needs to be opened. Backgroud I like dark better. can also be set to light. Note: This configuration is good, under the Gvim can be perfectly displayed, but the terminal under the use of vim, color is still very bad. Inconsistent with expectations. That is because the terminal does not support 256 colors by default. Open vim. BARSHRC and add "Export Term=xterm-256color". 3, Terminal
Terminal terminal can also be matched in this way. First install Git:sudo apt-get install Git-core then to set up solarized theme for GNU ls, otherwise under the Terminal LS What is gray, is to give solarized added directory ls color work Yes:
git clone git://github.com/seebi/dircolors-solarized.git
Dircolor-solarized have a few color matching, you can go to the project to see the description, I still choose the dark line dark256:
CP ~/dircolors-solarized/dircolors.256dark ~/.dircolors
Eval ' dircolors dircolors '
Set Terminal support 256 colors, vim. BARSHRC and add export Term=xterm-256color (for reasons mentioned above). Next download the solarized gnome-terminal color:
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git
CD gnome-terminal-colors-solarized to this directory to run the color script:
./set_dark.sh or./set_light.sh, you can switch between dark and light-colored freely. Or./solarize can also be switched, such as execution once is dark, once again light. So alternately.