mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Merge pull request #319 from starcraftman/timjk-patch-1
Add windows install instructions
This commit is contained in:
commit
f820fb9f0d
13
README.md
13
README.md
@ -25,13 +25,24 @@ A minimalist Vim plugin manager.
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
[Download plug.vim](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
[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
|
```sh
|
||||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
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
|
### Usage
|
||||||
|
|
||||||
Add a vim-plug section to your .vimrc:
|
Add a vim-plug section to your .vimrc:
|
||||||
|
Loading…
Reference in New Issue
Block a user