Fork me on GitHub

Vim 插件管理及安装

1、先将ubuntu1204的软件源进行更新。sudo apt-get update
2、再在终端中敲如下命令,让程序自动安装,根据网速的好坏安装时间有长有短。
  wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x
例如:
http://blog.csdn.net/namecyf/article/details/7787479
http://blog.chinaunix.net/uid-24118190-id-4077308.html

 

 

或者自己手动安装:(以ubuntu为例)

  1. 安装vim sudo apt-get install vim
  • 安装ctags:sudo apt-get install ctags
  • 安装一些必备程序:sudo apt-get install 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 https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  • 打开vim并执行bundle程序:BundleInstall
  • 重新打开vim即可看到效果

 

GitHub项目地址:https://github.com/ma6174/vim-deprecated

posted @ 2019-03-10 10:05  墨小语  阅读(401)  评论(0编辑  收藏  举报