From 072d28e86ec687f4b2b7e0bc62f6fb65bb2545f2 Mon Sep 17 00:00:00 2001 From: Tim Jackson-Kiely Date: Fri, 30 Oct 2015 15:43:05 +1300 Subject: [PATCH] Add windows install instructions --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3feb01b..d1bd33d 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,24 @@ A minimalist Vim plugin manager. ### Installation [Download plug.vim](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim) -and put it in ~/.vim/autoload +and put it in ~/.vim/autoload (UNIX) or ~/vimfiles/autoload (Windows). + +###### Unix ```sh curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ``` +###### Windows + +```powershell +md ~\vimfiles\autoload + +$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' +(New-Object Net.WebClient).DownloadFile($uri, 'vimfiles\autoload\plug.vim') +``` + ### Usage Add a vim-plug section to your .vimrc: