From acf538c5e9d74e0f35c873c6d396815f5784464e Mon Sep 17 00:00:00 2001 From: pt Date: Sun, 3 May 2020 01:39:57 -0400 Subject: [PATCH] look at installing plugins --- setup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/setup.sh b/setup.sh index 00a819c..fb3ee8e 100755 --- a/setup.sh +++ b/setup.sh @@ -30,3 +30,17 @@ do cp $(readlink -f $file) $backup fi done + +#see if Vundle has been cloned yet and do so +if [ ! -d ~/.vim ] +then + git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim + while true; do + read -p "Do you want to install the vim plugins now?" yn + case $yn in + [Yy]* ) vim +PluginInstall +qall; break;; + [Nn]* ) exit;; + * ) echo "Please answer yes or no.";; + esac + done +echo "you may need to run vim and execute :PluginInstall to sync packages with the new .vimrc"