Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Vim Plug - my favorite plugin manager

Vim Plug - my favorite plugin manager

I will go through vim-plug and tell you why it's the best plugin manager for Vim in the world.

Dc708e96bc09d605a0a9fcad26ff6035?s=128

Matthias Günther

February 20, 2015
Tweet

Transcript

  1. Vim plug

  2. Who Am I @wikimatze Running vimberlin.de Writing padrinobook.com

  3. The pro easy setup concise, intuitive syntax parallel installation/update on-demand

    loading
  4. Installation curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

  5. Example vimrc call plug#begin('~/.vim/plugged') Plug 'junegunn/seoul256.vim' Plug 'junegunn/vim-easy-align' call plug#end()

  6. On-demand loading Plug 'Eckankar/vim-latex-folding', { 'for': 'tex' } Plug 'othree/html5-syntax.vim',

    { 'for': ['html', 'md'] } Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
  7. Using git URL and tag Plug 'https://github.com/Shougo/neosnippet.vim' Plug 'bling/vim-airline' ,

    'v0.7' Plug 'wikimatze/tocdown', { 'tag': 'v.1.0.1', 'on': 'TocdownToggle' }
  8. Post-update hook Plug 'Shougo/vimproc.vim', { 'do': 'make' }

  9. Commands I PlugInstall|PlugUpdate [name ...] … install/update plugins PlugDiff …

    see the updated changes from the previous PlugUpdate
  10. Commands II PlugClean[!] … remove unused directories (! without prompt)

    PlugUpgrade … upgrade vim-plug itself
  11. Commands III PlugStatus … Check the status of plugins (loaded?)

    PlugSnapshot [output path] … generate script for restoring the current snapshot of the plugins
  12. Book Club https://www.flickr.com/photos/ infowidget/2319637289

  13. The VimL Primer https://pragprog.com/book/ bkviml/the-viml-primer

  14. Thanks For being here and make Vimberlin happen!