Linux学习之Vim(二)---为vim 配置solorized方案

来源:互联网 发布:在线视频录制软件 编辑:程序博客网 时间:2024/06/06 13:11

转载至: http://my.oschina.net/u/657037/blog/121904

Solarized包含很多文本处理工具的配色方案,效果是相当的给力,今天先给vim用用吧~


1.直接checkout代码

git clone git://github.com/altercation/solarized.git

这里包括所有的配色方案,如果只想给vim使用,也可以使用这个:Vim Repository


2.复制`solarized.vim`到`.vim/colors`目录

cd vim-colors-solarized/colorscp solarized.vim ~/.vim/colors/


3.更改~/.vimrc

syntax enableif has('gui_running')    set background=lightelse    set background=darkendifcolorscheme solarized

有两个主题,也可以只用一种:

light

syntax enableset background=lightcolorscheme solarized

dark

syntax enableset background=darkcolorscheme solarized


Emacs,IntelliJ,TextMate,Xcode...更多配色方案?访问solarized网站吧!

http://ethanschoonover.com/solarized


0 0