aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: eb18bd4ccf3ca44a7f8a4a670118b16448b807d5 (plain)
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
# My ~/.vim

## Using it in a new location

    cd ~ && git clone --recursive https://github.com/reidrac/dotvim.git

If you're not using vim 8; create a `.vimrc` with:

    runtime vimrc

## Adding plugins

    git submodule add https://github.com/user/foo.git bundle/foo
    git commit -m "Added foo plugin"

## Updating plugins

    git submodule foreach git pull origin master
    git commit -am "Updated plugins"

### Updating you .vim on a different machine

    git pull
	git submodule update --remote

## Removing plugins

    git submodule deinit bundle/foo
	git rm -r bundle/foo
	rm -r .git/modules/bundle/foo