Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
Installation:
git clone git://github.com/vfrank66/dotvim.git ~/.vim
Create symlinks (if needed):
ln -s ~/dotfiles/vimrc ~/.vimrc
ln -s ~/dotfiles/gvimrc ~/.gvimrc
Git Initialization:
cd ~/.vim
git init
Add all files in the directory and then Commit: git add .
git commit -m "Initial commit"
In order to keep third party git ropositories in my git repository use git submodules: 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."
Installation on a second computer:
cd ~
git clone http://github.com/username/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
cd ~/.vim
git submodule init
git submodule update [or git submodule update --init]
Upgrading a vim plugin:
cd ~/.vim/bundle/fugitive
git pull origin master
Upgading all vim plugins:
git submodule foreach git pull origin master

About

Vim Configuration

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages