install vim plugins after installing vundle otherwise do nothgin

This commit is contained in:
Paul Trowbridge 2021-03-13 03:10:17 +00:00
parent d21d617af9
commit 5c6ddd41cb

View File

@ -113,8 +113,7 @@ then
case $yn in
[Yy]* )
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
break;;
[Nn]* )
# ask to install plugins after vundle installed
while true; do
read -p "Do you want to install the vim plugins now?" yn
case $yn in
@ -124,8 +123,9 @@ then
esac
done
break;;
[Nn]* )
break;;
* ) echo "Please answer yes or no.";;
esac
done
fi
echo "you may need to run vim and execute :PluginInstall to sync packages with the new .vimrc, or \"vim +PluginInstall +qall\" from the command line"