首页 > 学院 > 开发设计 > 正文

修改vim主题配色

2019-11-06 08:38:11
字体:
来源:转载
供稿:网友

修改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-solarizedhttp://blog.csdn.net/yangzhongxuan/article/details/8444735

https://www.oschina.net/news/32306/10-vim-color-schemes-you-need-to-own


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表