-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviminit.cmd
More file actions
37 lines (30 loc) · 791 Bytes
/
Copy pathviminit.cmd
File metadata and controls
37 lines (30 loc) · 791 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
@echo off
rem ========================================
rem setup the vim bundle manager first
rem ========================================
IF NOT DEFINED HOME (
echo Error: env variable HOME NOT defined!
exit /B 1
)
echo.
echo Home dir is: %HOME%
SET target_dir=%HOME%\.vim\bundle\vundle
IF NOT EXIST %target_dir% (
echo.
echo Install vundle to %target_dir% ...
echo.
mkdir %target_dir%
git clone https://github.com/gmarik/vundle.git %target_dir%
) ELSE (
echo.
echo NOTE: target dir:%target_dir% already exists, skip installing vundle ...
)
rem ========================================
rem get our global vim config file
rem ========================================
echo.
echo Generating %HOME%\.vimrc ...
echo.
copy dot.vimrc %HOME%\.vimrc
echo Done.
@echo on