-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxp.bat
More file actions
42 lines (21 loc) · 851 Bytes
/
xp.bat
File metadata and controls
42 lines (21 loc) · 851 Bytes
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
::cd %USERPROFILE%
::git pull http://github.com/sherylynn/vimcode .vim
::cd %USERPROFILE%/.vim
::echo let g:VIMHOME=".vim" > ../.vimrc
::echo source %USERPROFILE%\.vim\config\vimrc >> ../.vimrc
cd %USERPROFILE%
git pull http://github.com/sherylynn/vimcode vimcode
cd %USERPROFILE%/vimcode
echo let g:VIMHOME="vimcode" > ../.vimrc
echo source %USERPROFILE%\vimcode\config\vimrc >> ../.vimrc
::guifont和后面的内容不能有空格
echo set guifont=Courier_new:h15:b >> ../.vimrc
echo set ff=unix >> ../.vimrc
::call cat config/_vimrc > ../.vimrc
::其他设定如果设计后面的,得在source加载前加载
mkdir autoload
cd autoload
call curl -fLo plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
cd %USERPROFILE%/vimcode
call proxy.bat
call vim -c "GoInstallBinaries" -c "qa"