-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
22 lines (17 loc) · 735 Bytes
/
README
File metadata and controls
22 lines (17 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
Installing your Vim environment on another machine
Once your vim configuration is under version control, it’s quite
straightforward to import your settings to any machine that has git installed.
If you followed the instructions above to put your vimrc and plugins in a
dotvim directory, then you can follow these steps to synchronise them to
another machine:
cd ~
git clone git@github.com:jwineinger/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
cd ~/.vim
git submodule update --init
# To add a new plugin as a submodule
cd ~/.vim
git submodule add git://github.com/user/repo.git bundle/name
git ci -a -m "Added new bundle/submodule"
git push