Support Windows (vim)

main
Thomas Ba. 10 years ago
parent 37fd787328
commit e123cb4676

@ -1,5 +1,10 @@
" load plugins using vundle " load plugins using vundle
source ~/.vim/vundle.vim
if has("win32")
source ~/vimfiles/vundle.vim
else
source ~/.vim/vundle.vim
endif
syntax on syntax on
filetype plugin indent on filetype plugin indent on

@ -1,8 +1,14 @@
set nocompatible " be iMproved, required set nocompatible " be iMproved, required
filetype off " required filetype off " required
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git")) if has("win32")
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git"))
!git clone https://github.com/gmarik/Vundle.vim.git \%USERPROFILE\%\.vim\bundle\Vundle.vim
endif
else
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git"))
!git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim !git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
endif
endif endif
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim

Loading…
Cancel
Save