Vundle 使用git来管理vim插件

程序名称:Vundle

授权协议: MIT

操作系统: Linux

开发语言:

Vundle 介绍


Vundle

项目托管在github上 https://github.com/gmarik/vundle

其特色在于使用git来管理插件,更新方便,支持搜索,一键更新,从此只需要一个vimrc走天下.

安装与配置

使用git命令

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

windows下使用,可以考虑放置在$HOME/.vim/bundle/vundle

vimrc

 vundle {
set rtp+=~/.vim/bundle/vundle/
 如果在windows下使用的话,设置为 
 set rtp+=$HOME/.vim/bundle/vundle/
call vundle#rc()
 }

 let Vundle manage Vundle
 required! 
Bundle 'gmarik/vundle'

 My Bundles here:

 original repos on github
 github上的用户写的插件,使用这种用户名+repo名称的方式
 Bundle 'tpope/vim-fugitive'
 Bundle 'Lokaltog/vim-easymotion'
 Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
 Bundle 'tpope/vim-rails.git'
 vim-scripts repos
 vimscripts的repo使用下面的格式,直接是插件名称
Bundle 'taglist.vim'
Bundle 'SuperTab'
Bundle 'vimwiki'
Bundle 'winmanager'
Bundle 'bufexplorer.zip'
Bundle 'The-NERD-tree'
Bundle 'matrix.vim--Yang'
Bundle 'FencView.vim'
Bundle 'Conque-Shell'
Bundle 'Vimpress'
Bundle 'Markdown'
Bundle 'LaTeX-Suite-aka-Vim-LaTeX'
Bundle 'c.vim'
Bundle 'snipMate'

 non github reposo
 非github的插件,可以直接使用其git地址
 Bundle 'git://git.wincent.com/command-t.git'
 ...


 Brief help
 :BundleList          - list configured bundles
 :BundleInstall(!)    - install(update) bundles
 :BundleSearch(!) foo - search(or refresh cache first) for foo
 :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles
 vundle主要就是上面这个四个命令,例如BundleInstall是全部重新安装,BundleInstall!则是更新
 一般安装插件的流程为,先BundleSearch一个插件,然后在列表中选中,按i安装
 安装完之后,在vimrc中,添加Bundle 'XXX',使得bundle能够加载,这个插件,同时如果
 需要配置这个插件,也是在vimrc中设置即可
 see :h vundle for more details or wiki for FAQ
 NOTE: comments after Bundle command are not allowed..

以上中文说明转载自: http://yishanhe.net/using-vim-vundle-for-better-plugin- management/

Vundle 官网

https://github.com/gmarik/vundle

相关编程语言

Pacman 是一个软件包管理器, 作为 ArchLinux 发行版...
Smb4K 是KDE下的网络共享浏览器 更多屏幕截图请看:...
Wine (“Wine Is Not an Emulator” 的首字母缩写)...
虚拟桌面软件,可管理最多9个虚拟桌面,你可以用热键...
UNetbootin (Universal Netboot Installer)为一种跨...
Cobbler 可以用来快速建立 Linux 网络安装环境,它已...