这里是我的vim配置文件 It's my configuration of vim on archlinux x86_64
git submodule add http://github.com/reverland/pluginname.git bundle/pluginname
git add .
git commit -m "update"
ln -s .vimrc ~/
cd ~/.vim/bundle/pluginname git pull origin master
git submodule foreach git pull origin master
remove it from .gitmodules
remove it from .git/config
git rm --cached bundle/pluginname
See also:http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/