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.

95 lines
2.7 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
  1. ## About
  2. [Vundle] is a short cut for **V**imb**undle** and is a small plugin for managing [Vim] plugins.
  3. ## Why
  4. [Vundle] allows to:
  5. - keep track and configure your scripts right in <code>.vimrc</code>
  6. - install configured scripts (aka bundle)
  7. - manage runtime path of your installed scripts so you don't have to
  8. - search [all available vim scripts] by name
  9. [Vundle] takes advantage of [vim-scripts.org](http://vim-scripts.org)
  10. in order to install/search [all available vim scripts]
  11. ## How
  12. 1. Setup [Vundle]:
  13. git clone http://github.com/gmarik/vundle.git ~/.vim/vundle.git
  14. 2. Configure bundles:
  15. Append to your <code>~/.vimrc</code>:
  16. set rtp+=~/.vim/vundle.git/
  17. call vundle#rc()
  18. " Bundles:
  19. Bundle "L9"
  20. Bundle "FuzzyFinder"
  21. Bundle "rails.vim"
  22. Bundle "ack.vim"
  23. Bundle "git://git.wincent.com/command-t.git"
  24. " ...
  25. 3. Install configured bundles:
  26. Launch <code>vim</code>, run <code>:BundleInstall</code> (**no restart required** since v0.5)
  27. Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to <code>~/.vim/bundle/</code>.
  28. ## Script installation
  29. `BundleInstall` installs script only if it hasn't been already installed installed.
  30. `BundleInstall` is faster than `BundleInstall!` (note bang at the end) because latter fetches scripts without any checks.
  31. Use `BundleInstall!` to update scripts.
  32. ## Searching
  33. :BundleSearch foo
  34. will split new window with results:
  35. Bundle "VimFootnotes"
  36. Bundle "foo.vim"
  37. so you can just copy ones you need to <code>.vimrc</code>.
  38. :BundleSearch! foo
  39. will refresh scripts list before doing search.
  40. Searching requires [<code>curl</code>](http://curl.haxx.se/)
  41. ## Examples
  42. See [gmarik's vimrc](https://github.com/gmarik/vimfiles/blob/1f4f26d42f54443f1158e0009746a56b9a28b053/vimrc#L136) for working example.
  43. ## Inspiration and ideas from
  44. * [pathogen]
  45. * [bundler]
  46. * [Scott Bronson](http://github.com/bronson)
  47. ## TODO:
  48. [Vundle] is a work in progress so any ideas/patches appreciated
  49. * √ activate newly added bundles on .vimrc reload or after :BundleInstall
  50. * √ use preview window for search results
  51. * improve error handling
  52. * allow specify revision/version?
  53. * search by description aswell
  54. * show descrption in search results
  55. * instead sourcing .vimrc before installation come up with another solution
  56. * documentation
  57. * tests
  58. * make it rock!
  59. [Vundle]:http://github.com/gmarik/vundle
  60. [Pathogen]:http://github.com/tpope/vim-pathogen/
  61. [Bundler]:http://github.com/wycats/bundler/
  62. [Vim]:http://vim.org
  63. [Git]:http://git-scm.com
  64. [all available vim scripts]:http://vim-scripts.org/vim/scripts.html