VIM:Solarized配色

来自WHY42

Gnome Terminal

https://www.if-not-true-then-false.com/2012/solarized-linux/#solarized-gnome-terminal

git clone https://github.com/sigurdga/gnome-terminal-colors-solarized.git
#then
./install.sh

VIM

git clone https://github.com/altercation/vim-colors-solarized.git
mkdir -p ~/.vim/colors
cp vim-colors-solarized/colors/solarized.vim ~/.vim/colors/

然后修改~/.vimrc

syntax enable
set background=dark
colorscheme solarized

Mac terminal

Mac iTerm

iTerm2已经自带了solarized主题(在color选项中),如果没有,可以导入https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized