vundle/README.md

150 lines
4.4 KiB
Markdown
Raw Normal View History

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
2011-08-28 18:32:40 -04:00
![Vundle-installer](https://lh3.googleusercontent.com/-4EnLqLpEZlk/TlqXWpgWxOI/AAAAAAAAHRw/oBAl6s1hj7U/vundle-install2.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
1. Setup [Vundle]:
2010-10-17 19:18:08 -04:00
```
2011-05-25 22:40:23 -04:00
$ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
```
2010-10-17 20:46:30 -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/'}
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'
" ...
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
3. Install configured bundles:
2010-10-17 19:18:08 -04:00
2011-05-25 22:43:02 -04:00
Launch `vim`, run `:BundleInstall`.
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/`.
2011-10-12 01:57:23 -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-10-12 01:59:52 -04:00
*Thank you* 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
- regenerates helptag atomatically
2010-11-23 17:31:59 -05:00
2011-02-18 22:35:58 -05:00
## Docs
2011-03-19 21:04:39 -04:00
see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details.
## People Using Vundle
2010-11-23 17:31:59 -05:00
* [gmarik's vimrc](https://github.com/gmarik/vimfiles/blob/1f4f26d42f54443f1158e0009746a56b9a28b053/vimrc#L136)
* [mutewinter's Vim Config of Champions](https://github.com/mutewinter/dot_vim)
2010-10-17 20:00:48 -04:00
2011-05-23 16:24:13 -04:00
If you have an interesting example, feel free to send a pull request with link to your config. Thx!
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
## Contributors
2011-04-15 19:41:18 -04:00
2011-04-24 13:18:34 -04:00
* [redlinesoftware](http://redlinesoftware.com) - for lending me 24" monitor!
2011-04-24 13:25:29 -04:00
* [Marc Jeanson](https://github.com/marcjeanson) - vim dude I always bug for help...;)
* [Brad Anderson](http://github.com/eco) (windows support)
* [Ryan W](http://github.com/rygwdn)
2011-04-25 00:17:03 -04:00
* [termac](http://github.com/termac)
2011-04-15 19:41:18 -04:00
* and others
*Thank you!*
## Inspiration and ideas from
2010-10-17 20:00:48 -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
* √ 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/
[Vim]:http://vim.org
[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
2011-08-25 22:34:41 -04:00
[update]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L128-133
[search]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L135-157
[clean]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L167-179
[interactive mode]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L183-209