2010-10-17 19:18:08 -04:00
|
|
|
## About
|
|
|
|
|
2011-05-24 20:17:28 -04:00
|
|
|
[Vundle] is short for **V**imb**undle** and is a [Vim] plugin manager.
|
2010-10-17 20:00:48 -04:00
|
|
|
|
2012-08-11 20:31:38 -04:00
|
|
|
![Vundle-installer](http://25.media.tumblr.com/tumblr_m8m96w06G81r39828o1_1280.png)
|
2011-08-28 14:57:35 -04:00
|
|
|
|
2011-02-18 22:35:58 -05:00
|
|
|
## Quick start
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2011-04-03 17:01:03 -04:00
|
|
|
1. Setup [Vundle]:
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2011-05-26 19:21:10 -04:00
|
|
|
```
|
2012-02-02 01:21:20 -05:00
|
|
|
$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
2011-05-25 22:40:23 -04:00
|
|
|
```
|
2010-10-17 20:46:30 -04:00
|
|
|
|
2011-04-03 17:01:03 -04:00
|
|
|
2. Configure bundles:
|
2010-10-19 00:15:44 -04:00
|
|
|
|
2011-05-25 22:40:23 -04:00
|
|
|
Sample `.vimrc`:
|
|
|
|
|
|
|
|
```vim
|
|
|
|
set nocompatible " be iMproved
|
|
|
|
filetype off " required!
|
|
|
|
|
|
|
|
set rtp+=~/.vim/bundle/vundle/
|
|
|
|
call vundle#rc()
|
|
|
|
|
|
|
|
" let Vundle manage Vundle
|
2011-06-08 17:25:09 -04:00
|
|
|
" required!
|
|
|
|
Bundle 'gmarik/vundle'
|
2011-05-25 22:40:23 -04:00
|
|
|
|
|
|
|
" My Bundles here:
|
|
|
|
"
|
|
|
|
" original repos on github
|
|
|
|
Bundle 'tpope/vim-fugitive'
|
2011-07-13 21:37:22 -04:00
|
|
|
Bundle 'Lokaltog/vim-easymotion'
|
2011-05-25 22:40:23 -04:00
|
|
|
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
|
2011-12-02 08:32:53 -05:00
|
|
|
Bundle 'tpope/vim-rails.git'
|
2011-05-25 22:40:23 -04:00
|
|
|
" vim-scripts repos
|
|
|
|
Bundle 'L9'
|
|
|
|
Bundle 'FuzzyFinder'
|
|
|
|
" non github repos
|
|
|
|
Bundle 'git://git.wincent.com/command-t.git'
|
|
|
|
" ...
|
|
|
|
|
2012-04-04 22:26:13 -04:00
|
|
|
filetype plugin indent on " required!
|
2011-06-04 15:59:37 -04:00
|
|
|
"
|
|
|
|
" Brief help
|
2011-08-26 03:00:09 -04:00
|
|
|
" :BundleList - list configured bundles
|
2011-08-26 02:53:16 -04:00
|
|
|
" :BundleInstall(!) - install(update) bundles
|
2011-08-25 22:23:10 -04:00
|
|
|
" :BundleSearch(!) foo - search(or refresh cache first) for foo
|
|
|
|
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
|
2011-06-04 15:59:37 -04:00
|
|
|
"
|
2011-08-25 22:23:10 -04:00
|
|
|
" see :h vundle for more details or wiki for FAQ
|
|
|
|
" NOTE: comments after Bundle command are not allowed..
|
2011-06-04 15:59:37 -04:00
|
|
|
|
2011-05-25 22:40:23 -04:00
|
|
|
```
|
2011-03-11 10:50:50 -05:00
|
|
|
|
2011-04-03 17:01:03 -04:00
|
|
|
3. Install configured bundles:
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2012-01-15 03:26:02 -05:00
|
|
|
Launch `vim`, run `:BundleInstall`
|
|
|
|
(or `vim +BundleInstall +qall` for CLI lovers)
|
2011-04-15 19:41:18 -04:00
|
|
|
|
2011-05-25 22:43:02 -04:00
|
|
|
*Windows users* see [Vundle for Windows](https://github.com/gmarik/vundle/wiki/Vundle-for-Windows)
|
2010-10-17 20:00:48 -04:00
|
|
|
|
2011-05-25 22:43:02 -04:00
|
|
|
Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to `~/.vim/bundle/`.
|
2012-04-04 22:26:13 -04:00
|
|
|
|
2011-10-23 20:37:28 -04:00
|
|
|
4. Consider [donating](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T44EJZX8RBUWY)
|
2011-10-12 01:57:23 -04:00
|
|
|
|
2011-12-20 04:49:06 -05:00
|
|
|
[*Thank you*](http://j.mp/rSbm01) for supporting this project! )
|
2011-10-12 01:59:14 -04:00
|
|
|
|
2010-11-02 23:11:20 -04:00
|
|
|
|
2011-02-18 22:35:58 -05:00
|
|
|
## Why Vundle
|
2010-12-09 00:12:58 -05:00
|
|
|
|
2011-02-18 22:35:58 -05:00
|
|
|
[Vundle] allows to:
|
2010-11-23 17:31:59 -05:00
|
|
|
|
2011-02-18 22:35:58 -05:00
|
|
|
- keep track and configure your scripts right in `.vimrc`
|
2011-03-19 20:24:26 -04:00
|
|
|
- [install] configured scripts (aka bundle)
|
|
|
|
- [update] configured scripts
|
2011-04-15 19:59:49 -04:00
|
|
|
- [search] by name [all available vim scripts]
|
2011-03-19 20:24:26 -04:00
|
|
|
- [clean] unused scripts up
|
2011-03-19 21:46:35 -04:00
|
|
|
- run above actions in a *single keypress* with [interactive mode]
|
2010-11-03 00:51:55 -04:00
|
|
|
|
2011-03-19 21:12:26 -04:00
|
|
|
Also [Vundle]:
|
2010-11-26 13:37:16 -05:00
|
|
|
|
2011-02-18 22:35:58 -05:00
|
|
|
- manages runtime path of your installed scripts
|
2012-03-28 08:02:30 -04:00
|
|
|
- regenerates helptag automatically
|
2010-11-23 17:31:59 -05:00
|
|
|
|
2011-02-18 22:35:58 -05:00
|
|
|
## Docs
|
2011-01-20 15:59:49 -05:00
|
|
|
|
2011-03-19 21:04:39 -04:00
|
|
|
see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details.
|
2011-01-20 15:59:49 -05:00
|
|
|
|
2011-10-12 10:41:58 -04:00
|
|
|
## People Using Vundle
|
2010-11-23 17:31:59 -05:00
|
|
|
|
2012-08-11 17:20:49 -04:00
|
|
|
see [Examples](/gmarik/vundle/wiki/Examples)
|
2011-05-23 16:24:13 -04:00
|
|
|
|
2011-05-01 12:23:19 -04:00
|
|
|
## FAQ
|
|
|
|
|
2011-06-08 23:25:22 -04:00
|
|
|
see [wiki](/gmarik/vundle/wiki)
|
2011-05-19 00:02:53 -04:00
|
|
|
|
2011-04-03 17:01:03 -04:00
|
|
|
## Contributors
|
2011-04-15 19:41:18 -04:00
|
|
|
|
2012-08-11 17:16:58 -04:00
|
|
|
see [vundle contributors](https://github.com/gmarik/vundle/graphs/contributors)
|
2011-04-15 19:41:18 -04:00
|
|
|
|
|
|
|
*Thank you!*
|
2011-04-03 17:01:03 -04:00
|
|
|
|
2010-10-30 22:02:36 -04:00
|
|
|
## Inspiration and ideas from
|
2010-10-17 20:00:48 -04:00
|
|
|
|
2010-10-30 22:02:36 -04:00
|
|
|
* [pathogen]
|
|
|
|
* [bundler]
|
|
|
|
* [Scott Bronson](http://github.com/bronson)
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2011-02-10 22:49:50 -05:00
|
|
|
## Also
|
|
|
|
|
2011-04-15 19:41:18 -04:00
|
|
|
* Vundle was developed and tested with [Vim] 7.3 on `OSX`, `Linux` and `Windows`
|
2011-02-10 22:49:50 -05:00
|
|
|
* Vundle tries to be as [KISS](http://en.wikipedia.org/wiki/KISS_principle) as possible
|
|
|
|
|
2010-10-17 19:18:08 -04:00
|
|
|
## TODO:
|
2010-11-02 23:11:20 -04:00
|
|
|
[Vundle] is a work in progress so any ideas/patches appreciated
|
2010-10-17 19:18:08 -04:00
|
|
|
|
2010-12-09 00:12:58 -05:00
|
|
|
* √ activate newly added bundles on .vimrc reload or after :BundleInstall
|
|
|
|
* √ use preview window for search results
|
2011-02-18 22:35:58 -05:00
|
|
|
* √ vim documentation
|
2011-05-09 23:49:53 -04:00
|
|
|
* √ put vundle to bundles/ too(will fix vundle help)
|
|
|
|
* √ tests
|
2011-08-15 15:57:17 -04:00
|
|
|
* √ improve error handling
|
2010-11-02 23:11:20 -04:00
|
|
|
* allow specify revision/version?
|
2011-08-26 03:12:35 -04:00
|
|
|
* handle dependencies
|
2011-05-24 20:17:28 -04:00
|
|
|
* show description in search results
|
2011-08-26 03:12:35 -04:00
|
|
|
* search by description as well
|
2010-11-02 23:11:20 -04:00
|
|
|
* make it rock!
|
2010-10-17 20:18:58 -04:00
|
|
|
|
|
|
|
[Vundle]:http://github.com/gmarik/vundle
|
|
|
|
[Pathogen]:http://github.com/tpope/vim-pathogen/
|
|
|
|
[Bundler]:http://github.com/wycats/bundler/
|
2012-12-02 02:47:10 -05:00
|
|
|
[Vim]:http://www.vim.org
|
2010-10-17 20:18:58 -04:00
|
|
|
[Git]:http://git-scm.com
|
2010-11-27 17:03:37 -05:00
|
|
|
[all available vim scripts]:http://vim-scripts.org/vim/scripts.html
|
2011-03-19 20:24:26 -04:00
|
|
|
|
2011-05-23 17:59:01 -04:00
|
|
|
[install]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L110-124
|
2012-04-04 22:26:13 -04:00
|
|
|
[update]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L128-134
|
|
|
|
[search]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L136-158
|
|
|
|
[clean]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L168-180
|
|
|
|
[interactive mode]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L184-210
|