转自:
https://github.com/ma6174/vim
手动安装:
阅读(140) | 评论(0) | 转发(0) |
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
手动安装:
- 安装vim sudo apt-get install vim
- 安装ctags:sudo apt-get install ctags
- 安装一些必备程序:sudo apt-get install python-twisted xclip vim-gnome astyle python-setuptools
- python代码格式化工具:sudo easy_install -ZU autopep8
- sudo ln -s /usr/bin/ctags /usr/local/bin/ctags
- clone配置文件:cd ~/ && git clone git://github.com/ma6174/vim.git
- mv ~/vim ~/.vim
- mv ~/.vim/.vimrc ~/
- clone bundle 程序:git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
- 打开vim并执行bundle程序:BundleInstall
- 重新打开vim即可看到效果
简易安装:
打开终端,执行下面的命令就自动安装好了:
wget https://raw.github.com/ma6174/vim/master/setup.sh -O ma6174_vim_setup.sh && bash ma6174_vim_setup.sh
安装完成之后,可以根据自己的需求修改~/.vimrc。
效果图:


相关热门文章
给主人留下些什么吧!~~
评论热议