VIM: plugins maintenance with Vundle

I wanted to improve some PERL script files, so I turned to a VIM plugin.
But it can quickly become complex to manage all those plugins inside VIM.
So I found an interesting page on a french blog: IT Wars (direct link to the article).
It was about installing Vundle

This is how I managed to get things installed:

  • fetch Vundle git:
    git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  • edit ~/.vimrc (remember that comments start with open-quote):
    set nocompatible " be iMproved
    filetype off " required!
    set rtp+=~/.vim/bundle/vundle/
    call vundle#rc()
    " let Vundle manage Vundle
    " required!
    Bundle 'gmarik/vundle'
    filetype plugin indent on " required!
  • then I activated my PERL plugin:
    • inside vim, with command :BundleSearch and selecting the plugin I wanted
    • in ~/.vimrc, by adding a line: Bundle 'perl-support.vim'

That’s all…
I have nice-looking PERL templates, and I can easily add/remove additional plugins inside VIM…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.