VIM:Solarized配色:修订间差异

来自WHY42
imported>Soleverlee
无编辑摘要
imported>Soleverlee
 
(未显示同一用户的2个中间版本)
第1行: 第1行:


=Terminal=
=Gnome Terminal=
https://www.if-not-true-then-false.com/2012/solarized-linux/#solarized-gnome-terminal
https://www.if-not-true-then-false.com/2012/solarized-linux/#solarized-gnome-terminal
<source lang="bash">
<source lang="bash">
第8行: 第8行:
</source>
</source>
=VIM=
=VIM=
https://github.com/altercation/vim-colors-solarized
<source lang="bash">
git clone https://github.com/altercation/vim-colors-solarized.git
mkdir -p ~/.vim/colors
cp vim-colors-solarized/colors/solarized.vim ~/.vim/colors/


</source>
然后修改~/.vimrc
<source lang="lua">
syntax enable
set background=dark
colorscheme solarized
</source>
=Mac terminal=
=Mac iTerm=
iTerm2已经自带了solarized主题(在color选项中),如果没有,可以导入https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized
[[Category:Linux/Unix]]
[[Category:Linux/Unix]]

2017年3月27日 (一) 14:36的最新版本

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