summaryrefslogtreecommitdiff
path: root/vim/install_vundle.sh
blob: 467a419ca736af78a0d95638307ddd16b56a0678 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# dotfiles -- vim/install_vundle.sh
# author: johannst

# if INSTALL_DIR changed, it must be also changed in vimrc (lf runtimepath)
INSTALL_DIR=~/.vim/bundle

if [ ! -d $INSTALL_DIR ]; then 
    mkdir $INSTALL_DIR
fi
if [ ! -d $INSTALL_DIR/Vundle.vim ]; then 
    git clone https://github.com/VundleVim/Vundle.vim.git $INSTALL_DIR/Vundle.vim
fi

# install plugins
vim +PluginInstall +qall