Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Vundle: Managing Vim Plugins With Sanity

1,035 views

Published on

This are the slides for a lightning talk (5 minute talk) I gave at work in Corvil on January 23 2014.
Vundle is a plugin that allows for a very convenient way to install, remove and keep plugins up to date.
The talk covered a bit of history of how Vundle came to be, and finally presented Vundle itself.

Published in: Technology, Art & Photos
  • From the point of view of the author of this slide show its true. However I feel the author missed some additional ways to install plugins. http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html tries to be comprehensive list which probably still is incomplete.
    After reading the slides which tell you that there is need for nice solutions you may want to consider having a look at all known options.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Vundle: Managing Vim Plugins With Sanity

  1. 1. Vundle Managing Vim Plugins With Sanity github.com/jdevera
  2. 2. vim.org → zip file → ~/.vim
  3. 3. The Mess: Name Clashes Plugin Foo plugin/foo.vim plugin/utils.vim doc/foo.txt Plugin Bar plugin/bar.vim plugin/utils.vim doc/bar.txt
  4. 4. The Mess: Good Luck Deleting That Plugin!
  5. 5. The Mess: Good Luck Updating That Plugin!
  6. 6. Pathogen by Tim Pope (2008)
  7. 7. :set runtimepath? runtimepath=~/.vim,~/run/share/vim/vimfiles, ~/run/share/vim/vim72,~/run/share/vim/vimfiles/after, ~/.vim/after
  8. 8. Everything under ~/.vim/bundle Foo ~/.vim/bundle/Foo/plugin/foo.vim ~/.vim/bundle/Foo/plugin/utils.vim ~/.vim/bundle/Foo/doc/foo.txt Bar ~/.vim/bundle/Bar/plugin/bar.vim ~/.vim/bundle/Bar/plugin/utils.vim ~/.vim/bundle/Bar/doc/bar.txt
  9. 9. Problems solved?
  10. 10. Keeping it all up to date (Pathogen + Git + Github)
  11. 11. Github or never happened!
  12. 12. vim-scripts.org by Scott Bronson (2010)
  13. 13. vim.org → vim-scraper → github
  14. 14. We have it good Can we have it sweet?
  15. 15. Vundle by Marian Hratson (2010)
  16. 16. In your .vimrc set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ call vundle#rc() Bundle 'gmarik/vundle' Bundle 'Align' Bundle 'camelcasemotion' Bundle 'majutsushi/tagbar' Bundle 'tpope/vim-abolish' Bundle 'sjl/gundo.vim' Bundle 'scrooloose/syntastic' ... filetype plugin indent on The rest of your .vimrc...
  17. 17. In your .vimrc set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ call vundle#rc() Bundle 'gmarik/vundle' Bundle 'Align' Bundle 'camelcasemotion' Bundle 'majutsushi/tagbar' Bundle 'tpope/vim-abolish' Bundle 'sjl/gundo.vim' Bundle 'scrooloose/syntastic' ... filetype plugin indent on The rest of your .vimrc...
  18. 18. :BundleInstall!
  19. 19. Install new plugins
  20. 20. Upgrade all existing plugins
  21. 21. Delete unwanted plugins
  22. 22. Bonus: BundleSearch + install
  23. 23. Links Photo: “Sugar Cubes” by Oliver Tupman http://www.flickr.com/photos/olliesphotos/398669141 Pathogen: https://github.com/tpope/vim-pathogen Vundle: https://github.com/gmarik/vundle My vimrc and other configuration files: https://github.com/jdevera/dotfiles The license for these slides: http://creativecommons.org/licenses/by-nc-sa/4.0/
  24. 24. Thank you Vundle Managing Vim Plugins With Sanity github.com/jdevera

×