look at installing plugins

This commit is contained in:
pt 2020-05-03 01:39:57 -04:00
parent 9a297db034
commit acf538c5e9

View File

@ -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"