您的位置:首页 > 运维架构 > Linux

修改vim主题配色

2017-03-01 18:06 197 查看

修改vim主题配色

1. Linux系统安装git

2. 初始化本地仓库

[root@localhost ~]# mkdir git_pro
[root@localhost ~]# cd git_pro/
Initialized empty Git repository in /root/git_pro/.git/
[root@localhost git_pro]# ls 
[root@localhost git_pro]# ls -a 
.  ..  .git

3. 下载主题

git clone git://github.com/altercation/vim-colors-solarized.git

来自 <https://github.com/altercation/vim-colors-solarized> 

4. 将下载的包中的solarized.vim 拷贝到系统 存放配色方案的目录中

[root@localhost ~]# cd git_pro/vim-colors-solarized/colors/
[root@localhost colors]# ls 
solarized.vim
[root@localhost colors]# 
[root@localhost colors]# cp ./solarized.vim /usr/share/vim/vim72/colors/

5. 修改配置文件

[root@localhost ~]# vi ~/.vimrc   

添加一行



参考资料 https://github.com/altercation/vim-colors-solarized http://blog.csdn.net/yangzhongxuan/article/details/8444735
https://www.oschina.net/news/32306/10-vim-color-schemes-you-need-to-own
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Linux vim