summaryrefslogtreecommitdiff
path: root/.vim/install_vundle.sh
diff options
context:
space:
mode:
authorJohannes Stolp <jstolp@vgfr65cs2.internal.synopsys.com>2016-07-01 17:41:55 +0200
committerJohannes Stolp <jstolp@vgfr65cs2.internal.synopsys.com>2016-07-01 17:41:55 +0200
commit72706eb9323065cdb4152d73926fd680a4c5a9ab (patch)
tree4ab215cd6f2093d81915d2c8e5c685c5e3082fd3 /.vim/install_vundle.sh
parentd3501225442d08275d1300e8797d1c15e0025488 (diff)
downloaddotfiles-72706eb9323065cdb4152d73926fd680a4c5a9ab.tar.gz
dotfiles-72706eb9323065cdb4152d73926fd680a4c5a9ab.zip
Removed current plugin handling, added script to install vundle(a vim plugin manager).
Adapted vim config files to use vundle. To install new vim plugins, they must be added to .vim/vimrc_files/vundle.vim
Diffstat (limited to '.vim/install_vundle.sh')
-rwxr-xr-x.vim/install_vundle.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/.vim/install_vundle.sh b/.vim/install_vundle.sh
new file mode 100755
index 0000000..b713214
--- /dev/null
+++ b/.vim/install_vundle.sh
@@ -0,0 +1,13 @@
+# dotfiles -- .vim/install_vundle.sh
+# author: johannst
+# vundle: https://github.com/VundleVim/Vundle.vim
+
+# if INSTALL_DIR changed, it must be also changed in .vim/vimrc_files/vundle.vim
+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 ~/.vim/bundle/Vundle.vim
+fi