Added a few comments

main
Thomas Ba. 9 years ago
parent 3fc7910920
commit 832966d060

@ -1,11 +1,15 @@
set nocompatible " be iMproved, required
filetype off " required
" on windows we have different paths …
if has("win32")
" if plug isnt downloaded yet, grab it from the internet
if !filereadable(expand("~/vimfiles/autoload/plug.vim"))
" but first check if the autoload folder exists, if not: create it
if !isdirectory(expand('~\vimfiles\autoload'))
execute '!md ' . expand('~\vimfiles\autoload')
endif
" download vim-plug using bitsadmin (yeah i know, its deprecated)
execute '!bitsadmin.exe /transfer "vim-plug" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ' . expand('~\vimfiles\autoload\plug.vim')
endif
call plug#begin('~/vimfiles/plugged')

Loading…
Cancel
Save