summaryrefslogtreecommitdiff
path: root/vim/install_vundle.sh
diff options
context:
space:
mode:
authorBlubber <f2005278@mvrht.com>2016-10-23 16:11:12 +0200
committerBlubber <f2005278@mvrht.com>2016-10-23 16:11:12 +0200
commit5430828f3126c495ff75e702c8475a0671ba8091 (patch)
tree80c5fafd6ec0ccf44b1ceb708bbfd261aaa4a931 /vim/install_vundle.sh
parent0aaeb464ba5a55423338aa73b8c7a8c68d393331 (diff)
downloaddotfiles-5430828f3126c495ff75e702c8475a0671ba8091.tar.gz
dotfiles-5430828f3126c495ff75e702c8475a0671ba8091.zip
cleaned up and refactored vim settings
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