Migrating over from pathogen to native, with git submodules

This commit is contained in:
2017-03-28 10:48:25 -06:00
parent 75ca5375e5
commit 5e829dd680
32 changed files with 139 additions and 6 deletions

15
vim-remove-submodule.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
if [ "$1x" -eq "x" ]; then
echo "specify a module directory to remove"
exit 1
fi
if [ ! -d vim/pack/nichus/start/$1 ]; then
echo "submodule $1 is not installed"
exit 1
fi
git submodule deinit vim/pack/nichus/start/$1
git rm vim/pack/nichus/start/$1
rm -rf .git/modules/vim/pack/nichus/start/$1
git commit