Vundle, the plug-in manager for Vim
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
4.2 KiB

13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
  1. ## About
  2. [Vundle] is short for **V**imb**undle** and is a [Vim] plugin manager.
  3. ## Quick start
  4. 1. Setup [Vundle]:
  5. ```
  6. $ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  7. ```
  8. 2. Configure bundles:
  9. Sample `.vimrc`:
  10. ```vim
  11. set nocompatible " be iMproved
  12. filetype off " required!
  13. set rtp+=~/.vim/bundle/vundle/
  14. call vundle#rc()
  15. " let Vundle manage Vundle
  16. " required!
  17. Bundle 'gmarik/vundle'
  18. " My Bundles here:
  19. "
  20. " original repos on github
  21. Bundle 'tpope/vim-fugitive'
  22. Bundle 'Lokaltog/vim-easymotion'
  23. Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
  24. " vim-scripts repos
  25. Bundle 'L9'
  26. Bundle 'FuzzyFinder'
  27. Bundle 'rails.vim'
  28. " non github repos
  29. Bundle 'git://git.wincent.com/command-t.git'
  30. " ...
  31. filetype plugin indent on " required!
  32. "
  33. " Brief help
  34. "
  35. " :BundleInstall - install bundles (won't update installed)
  36. " :BundleInstall! - update if installed
  37. "
  38. " :Bundles foo - search for foo
  39. " :Bundles! foo - refresh cached list and search for foo
  40. "
  41. " :BundleClean - confirm removal of unused bundles
  42. " :BundleClean! - remove without confirmation
  43. "
  44. " see :h vundle for more details
  45. " or wiki for FAQ
  46. " Note: comments after Bundle command are not allowed..
  47. ```
  48. 3. Install configured bundles:
  49. Launch `vim`, run `:BundleInstall`.
  50. *Windows users* see [Vundle for Windows](https://github.com/gmarik/vundle/wiki/Vundle-for-Windows)
  51. Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to `~/.vim/bundle/`.
  52. ## Why Vundle
  53. [Vundle] allows to:
  54. - keep track and configure your scripts right in `.vimrc`
  55. - [install] configured scripts (aka bundle)
  56. - [update] configured scripts
  57. - [search] by name [all available vim scripts]
  58. - [clean] unused scripts up
  59. - run above actions in a *single keypress* with [interactive mode]
  60. Also [Vundle]:
  61. - manages runtime path of your installed scripts
  62. - regenerates helptag atomatically
  63. ## Docs
  64. see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details.
  65. ## Examples
  66. See [gmarik's vimrc](https://github.com/gmarik/vimfiles/blob/1f4f26d42f54443f1158e0009746a56b9a28b053/vimrc#L136) for working example.
  67. If you have an interesting example, feel free to send a pull request with link to your config. Thx!
  68. ## FAQ
  69. see [wiki](/gmarik/vundle/wiki)
  70. ## Contributors
  71. * [redlinesoftware](http://redlinesoftware.com) - for lending me 24" monitor!
  72. * [Marc Jeanson](https://github.com/marcjeanson) - vim dude I always bug for help...;)
  73. * [Brad Anderson](http://github.com/eco) (windows support)
  74. * [Ryan W](http://github.com/rygwdn)
  75. * [termac](http://github.com/termac)
  76. * and others
  77. *Thank you!*
  78. ## Inspiration and ideas from
  79. * [pathogen]
  80. * [bundler]
  81. * [Scott Bronson](http://github.com/bronson)
  82. ## Also
  83. * Vundle was developed and tested with [Vim] 7.3 on `OSX`, `Linux` and `Windows`
  84. * Vundle tries to be as [KISS](http://en.wikipedia.org/wiki/KISS_principle) as possible
  85. ## TODO:
  86. [Vundle] is a work in progress so any ideas/patches appreciated
  87. * √ activate newly added bundles on .vimrc reload or after :BundleInstall
  88. * √ use preview window for search results
  89. * √ vim documentation
  90. * √ put vundle to bundles/ too(will fix vundle help)
  91. * √ tests
  92. * improve error handling
  93. * handle dependencies
  94. * allow specify revision/version?
  95. * search by description as well
  96. * show description in search results
  97. * instead sourcing .vimrc before installation come up with another solution
  98. * make it rock!
  99. [Vundle]:http://github.com/gmarik/vundle
  100. [Pathogen]:http://github.com/tpope/vim-pathogen/
  101. [Bundler]:http://github.com/wycats/bundler/
  102. [Vim]:http://vim.org
  103. [Git]:http://git-scm.com
  104. [all available vim scripts]:http://vim-scripts.org/vim/scripts.html
  105. [install]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L110-124
  106. [update]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L126-131
  107. [search]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L133-155
  108. [clean]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L157-169
  109. [interactive mode]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L172-205