forked from jimenezrick/vimconfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
42 lines (29 loc) · 995 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
40
41
42
_ ___
| | / (_)___ ___
| | / / / __ `__ \
| |/ / / / / / / /
|___/_/_/ /_/ /_/
======================
F*ck yeah!
How to use this repository
----------------------------
1. cd $HOME
2. git clone <repository> .vim
3. cd .vim
4. git submodule init
5. git submodule update
6. ln -s .vim/vimrc .vimrc
This Vim configuration uses Pathogen (http://github.com/tpope/vim-pathogen),
the plugins are placed in `.vim/bundle/'. Some of the plugins are hosted in
GitHub so I use Git submodules to track those plugins in `.vim/bundle/' as
separate repositories.
Working with Git submodules
-----------------------------
- To add a new submodule run from the top level directory:
git submodule add <repository> bundle/<plugin>
- To pull a submodule repository run from the top level directory:
git submodule init
git submodule update
- To update all the submodule repositories in one shot run from the top
level directory, commit afterwards:
git submodule foreach 'git pull'