Skip to content

vfrank66/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published