您的位置:首页 > 其它

Vim安装、配置和插件的添加使用(可以以目录的形式打开)

2017-03-09 15:51 387 查看
1、简易安装
wget https://raw.github.com/ma6174/vim/master/setup.sh -O ma6174_vim_setup.sh && bash ma6174_vim_setup.sh

2、自己动手安装
安装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
如果没有安装easy_install 先安装easy_install   sudo apt-get install python-setuptools
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即可看到效果
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: