celavek/vimconfig
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Installation:
git clone git://github.com/celavek/vimconfig.git ~/.vim
Create symlinks:
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
Switch to the `~/.vim` directory, and fetch submodules:
cd ~/.vim
git submodule init
git submodule update
Add submodule e.g.:
cd ~/.vim
mkdir ~/.vim/bundle
git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive
git add .
git commit -m "Install Fugitive.vim bundle as a submodule."
Upgrade a plugin bundle:
cd ~/.vim/bundle/fugitive
git pull origin master
Upgrade all bundles:
git submodule foreach git pull origin master
Avoid dirtying submodule's tree:
Generating helptags with pathogen's ":Helptags" dirties the submodules repos.
Solution to that is to add ignore = dirty in ".gitmodules" for each submodule.