mac,选iTerm2自带的solarized即可
debian
git clone git://github.com/seebi/dircolors-solarized.git cp dircolors-solarized/dircolors.256dark ~/.dircolors eval ‘dircolors ~/.dircolors‘rm -rf dircolors-solarized/
vim配色
git clone git://github.com/altercation/solarized.git mkdir -p ~/.vim/colors cp solarized/vim-colors-solarized/colors/solarized.vim ~/.vim/colors/ rm -rf solarized
vim ~/.vimrc
set nu syntax enable set background=dark set term=xterm-256color if system(‘uname‘) == "Linux\n" let g:solarized_termcolors=256 let g:solarized_termctrans=1 "开启linux下的灰蒙蒙的遮罩 let g:solarized_termtrans=1 endif colorscheme solarized
时间: 2024-11-09 12:00:26