Skip to content

Instantly share code, notes, and snippets.

@ricog
Created June 30, 2014 20:04
Show Gist options
  • Save ricog/7687251b196c032b94c8 to your computer and use it in GitHub Desktop.
Save ricog/7687251b196c032b94c8 to your computer and use it in GitHub Desktop.
Easy Vim plugin installation using Vundle (add to your ~/.vimrc)
" ===== Vundle Setup - the vim plugin bundler =====
" This will install Vundle if not installed
let iCanHazVundle=1
let vundle_readme=expand('~/.vim/bundle/vundle/README.md')
if !filereadable(vundle_readme)
echo "Installing Vundle.."
echo ""
silent !mkdir -p ~/.vim/bundle
silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle
let iCanHazVundle=0
endif
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
" === Installed Bundles ===
Bundle 'altercation/vim-colors-solarized'
Bundle 'https://github.com/kien/ctrlp.vim'
Bundle 'https://github.com/xolox/vim-session.git'
Bundle 'https://github.com/tpope/vim-fugitive'
Bundle 'https://github.com/rking/ag.vim'
Bundle 'https://github.com/editorconfig/editorconfig-vim'
" === Install Bundles ===
if iCanHazVundle == 0
echo "Installing Bundles, please ignore key map error messages"
echo ""
:BundleInstall
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment