summaryrefslogtreecommitdiff
path: root/vim/install_vundle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vim/install_vundle.sh')
-rwxr-xr-xvim/install_vundle.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/vim/install_vundle.sh b/vim/install_vundle.sh
new file mode 100755
index 0000000..467a419
--- /dev/null
+++ b/vim/install_vundle.sh
@@ -0,0 +1,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