mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
windows xp installer .cmd
Since there is no mklink in windows XP and installing the tool that provides this function is only possible on NTFS filesystems I created this installer for my colleagues at work. Probably far from a perfect solution but just so people on old XP boxes can enjoy the awesomness easily.
This commit is contained in:
parent
8c783c20bf
commit
855e7ffdb0
13
spf13-vim-windows-xp-install.cmd
Normal file
13
spf13-vim-windows-xp-install.cmd
Normal file
@ -0,0 +1,13 @@
|
||||
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
|
||||
@if not exist "%HOME%" @set HOME=%USERPROFILE%
|
||||
|
||||
@set BASE_DIR=%HOME%\.spf13-vim-3
|
||||
call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git "%BASE_DIR%"
|
||||
call mkdir "%BASE_DIR%\.vim\bundle"
|
||||
call copy "%BASE_DIR%\.vim" "%HOME%\.vim"
|
||||
call copy "%BASE_DIR%\.vimrc" "%HOME%\.vimrc"
|
||||
call copy "%BASE_DIR%\.vimrc" "%HOME%\_vimrc"
|
||||
call copy "%BASE_DIR%\.vimrc.bundles" "%HOME%\.vimrc.bundles"
|
||||
|
||||
call git clone http://github.com/gmarik/vundle.git "%HOME%/.vim/bundle/vundle"
|
||||
call vim -u "$BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall
|
Loading…
Reference in New Issue
Block a user