add routine to add vim plugins
This commit is contained in:
parent
32b08505c5
commit
f8443f061a
1 changed files with 12 additions and 0 deletions
12
bin/vim-plugins-install
Executable file
12
bin/vim-plugins-install
Executable 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
|
Loading…
Reference in a new issue