.vim directory of file type configurations and plugins .vimrc my vim configuration.
- git clone http://github.com/TimBao/dotvim.git ~/.vim
- ln -s ~/.vim/vimrc ~/.vimrc
- cd ~/.vim
- git submodule init
- git submodule update
- cd $vim
- git clone http://github.com/TimBao/dotvim.git ./vimfiles
- mklink _vimrc vimfiles/vimrc
- cd vimfiles
- git submodule init
- git submodule update
- If you want to support chinese font, please change encodding to cp936
- cd ~/.vim/bundle/vim-markdown # Replace vim-markdown to your plugin name
- git pull origin master
- cd ~/.vim
- git submodule foreach git pull origin master
- git submodule add XXX.git bundle/XXX
- git add .gitmodule
- git commit -m "add XXX plugin"
- git push origin master
git rm bundle/vim-markdown # Replace vim-markdown to your plugin name