Add windows install instructions
This commit is contained in:
parent
8fb0efe4e5
commit
072d28e86e
1 changed files with 12 additions and 1 deletions
13
README.md
13
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:
|
||||
|
|
Loading…
Reference in a new issue