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

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即可看到效果

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