add routine to add vim plugins

This commit is contained in:
Jakobus Schürz 2020-10-30 01:10:33 +01:00
parent 32b08505c5
commit f8443f061a

12
bin/vim-plugins-install Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
grep -v "^\"" vimplugins |while read cmd type url;do
case $cmd in
install)
echo git submodule add $url vim/pack/${type}/$(basename ${url%.git})
;;
remove)
echo git submodule-remove vim/pack/${type}/$(basename ${url%.git})
;;
esac
done