Support Windows (vim)

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

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

@ -1,9 +1,15 @@
set nocompatible " be iMproved, required
filetype off " required
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
endif
endif
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Loading…
Cancel
Save