-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
37 lines (29 loc) · 874 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
Clone:
Unix:
git clone [email protected]:cypok/dotvim.git ~/.vim
cd ~/.vim
git submodule init
git submodule update
echo "runtime vimrc" > ~/.vimrc
echo "runtime gvimrc" > ~/.gvimrc
Windows:
set HOME=%USERPROFILE%
git clone [email protected]:cypok/dotvim.git "%HOME%\vimfiles"
cd "%HOME%\vimfiles"
git submodule init
git submodule update
echo runtime vimrc > "%HOME%\_vimrc"
echo runtime gvimrc > "%HOME%\_gvimrc"
Additional actions for Windows at work:
mkdir "%HOME%\vimundodir"
echo let g:spaces_trim_disable = 1 > "%HOME%\_vimrc"
echo set undodir=~/vimundodir >> "%HOME%\_vimrc"
echo runtime vimrc >> "%HOME%\_vimrc"
Push:
git push origin master
Pull:
git pull origin master
git submodule init
git submodule update
Update bundles:
git submodule foreach git pull origin master