Last active
July 6, 2017 03:19
-
-
Save glasses618/2383001742bf1490bb619b28cf6e3c83 to your computer and use it in GitHub Desktop.
vimrc-vundle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" http://erikzaadi.com/2012/03/19/auto-installing-vundle-from-your-vimrc/ | |
" Setting up Vundle - the vim plugin bundler | |
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/VundleVim/Vundle.vim ~/.vim/bundle/vundle | |
let iCanHazVundle=0 | |
endif | |
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
"Add your bundles here | |
Plugin 'Syntastic' "uber awesome syntax and errors highlighter | |
Plugin 'altercation/vim-colors-solarized' "T-H-E colorscheme | |
Plugin 'https://github.com/tpope/vim-fugitive' "So awesome, it should be illegal | |
"...All your other bundles... | |
if iCanHazVundle == 0 | |
echo "Installing Vundles, please ignore key map error messages" | |
echo "" | |
:PluginInstall | |
endif | |
call vundle#end() | |
"must be last | |
filetype plugin indent on " load filetype plugins/indent settings | |
colorscheme solarized | |
syntax on " enable syntax | |
" Setting up Vundle - the vim plugin bundler end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment