Created
August 14, 2014 08:59
-
-
Save neotohin/69d60568ffdd20486fd7 to your computer and use it in GitHub Desktop.
Vundle Installation on runtime
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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" => Setting Vundle Bundles | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
set nocompatible | |
"filetype off | |
function! LoadVundle() | |
let vundle_installed=filereadable(expand('~/.vim/bundle/vundle/README.md')) | |
if vundle_installed == 0 | |
echo "Creating backups directory..." | |
silent !mkdir -p ~/.vim/backups | |
echo "Installing Vundle.." | |
echo "" | |
silent !mkdir -p ~/.vim/bundle | |
silent !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundle | |
endif | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Put plugin Names in here to install | |
" check http://vimawesome.com for instruction | |
if vundle_installed==0 | |
echo vundle_installed | |
echo "Vundle Installed, now Installing Bundles..." | |
echo "" | |
:BundleInstall | |
endif | |
filetype plugin indent on | |
endfunction | |
call LoadVundle() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment