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

VIM Plugin Management

VIM Plugin Management

Plugin management with Pathogen and Vundle
for
VIM Madrid http://www.meetup.com/VIM-Madrid/

Carlos Hernando

October 14, 2014
Tweet

More Decks by Carlos Hernando

Other Decks in Technology

Transcript

  1. Plugin
    Management
    Carlos Hernando
    @chernando
    adrid

    View full-size slide

  2. http://www.vim.org/scripts/

    View full-size slide

  3. Plugins
    vs
    Scripts
    Robot Fight by Ariel Waldman - https://flic.kr/p/7f7eAt

    View full-size slide

  4. https://github.com/tpope/vim-pathogen/

    View full-size slide

  5. Install
    mkdir -p ~/.vim/autoload ~/.vim/bundle!
    curl -LSso ~/.vim/autoload/pathogen.vim
    https://tpo.pe/pathogen.vim

    View full-size slide

  6. .vimrc
    execute pathogen#infect()!
    syntax on!
    filetype plugin indent on

    View full-size slide

  7. Plugins
    ~/.vim/bundle

    View full-size slide

  8. https://github.com/gmarik/Vundle.vim

    View full-size slide

  9. Install
    git clone https://github.com/gmarik/
    Vundle.vim.git ~/.vim/bundle/Vundle.vim

    View full-size slide

  10. .vimrc
    set nocompatible!
    filetype off!
    set rtp+=~/.vim/bundle/Vundle.vim!
    call vundle#begin()!
    Plugin 'gmarik/Vundle.vim'!
    Plugin 'tpope/vim-fugitive'!
    call vundle#end()!
    filetype plugin indent on

    View full-size slide

  11. Plugins
    • :PluginInstall
    • :PluginInstall! (:PluginUpdate)

    View full-size slide

  12. Other commands
    • :PluginSearch
    • :PluginClean

    View full-size slide

  13. http://vim-scripts.org/vim/scripts.html

    View full-size slide

  14. http://vimawesome.com/

    View full-size slide

  15. About
    This work is licensed under the Creative Commons
    Attribution-NonCommercial-ShareAlike 3.0 Unported
    License. To view a copy of this license, visit http://
    creativecommons.org/licenses/by-nc-sa/3.0/.
    Product names, logos and trademarks of other
    companies which are referenced in this document
    remain the property of those other companies.

    View full-size slide