-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
40 lines (28 loc) · 765 Bytes
/
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
Initial installation:
git clone git://github.com/mwilden/vim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
cd ~/.vim
git submodule update --init
Add bundle:
cd ~/.vim
git submodule add <plugin-repository-url> bundle/<plugin-name>
git add .
git commit -m "Add plugin"
Update bundle:
cd ~/.vim/bundle/<plugin-name>
git pull origin master
Update all bundles:
cd ~/.vim
git submodule foreach git pull origin master
Remove bundle:
Remove it from .gitmodules
Remove it from .git/config
git rm --cached bundle/<plugin-name>
git commit -a "Remove plugin"
git push
or
rm -rf <path-to-module>
To resurrect after deleting the bundle directory:
1. Look in gitx to see the name
2. git co bundle/foo
3. git submodule update -- bundle/foo