look at installing plugins
This commit is contained in:
parent
9a297db034
commit
acf538c5e9
14
setup.sh
14
setup.sh
@ -30,3 +30,17 @@ do
|
|||||||
cp $(readlink -f $file) $backup
|
cp $(readlink -f $file) $backup
|
||||||
fi
|
fi
|
||||||
done
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user