-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
53 lines (39 loc) · 1.25 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
VIM
===
Pathogen (Old way)
==================
http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
To add plugins put them into .vim/bundle.
If they are git repos use
git submodule add git://xxxxx .vim/bundle/name-of-plugin
git commit
To update a submodule to the latest version go to the the vim/bundle/xxx and do
git fetch
git checkout master
git merge origin/master
#cd ~/dotfiles
#git status
#git commit # not sure about this yet but I guess we need to commit the submodule changes
#git push
To uninstall a vim plugin (remove submodule)
============================================
git submodule deinit .vim/bundle/<theplugin> # no traling /
git submodule rm .vim/bundle/theplugin
Plugins (new way using Vundle)
===============================
Just add the plugin entries in the .vim/vundle.vim
exit vim
and start it again (so that vundle.vim is read)
run :PluginInstall
on the other dotfiles repositories
=================
git clone [email protected]:ecerulm/dotfiles.git
cd dotfiles
./create_links_linux.sh
git pull # or git fetch etc
# the submodules will not be downloaded / updated
#Get the initial submodule repo
git submodule init
git submodule update
# You can update all submodules with
git submoudle update --recursive