Update installation instruction for Neovim on Windows (#634)
Close #633
This commit is contained in:
parent
f7e6a86807
commit
06992bcfb9
1 changed files with 19 additions and 7 deletions
26
README.md
26
README.md
|
@ -27,6 +27,8 @@ A minimalist Vim plugin manager.
|
||||||
[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 the "autoload" directory.
|
and put it in the "autoload" directory.
|
||||||
|
|
||||||
|
#### Vim
|
||||||
|
|
||||||
###### Unix
|
###### Unix
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -34,13 +36,6 @@ 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
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Neovim
|
|
||||||
|
|
||||||
```sh
|
|
||||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
|
||||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
||||||
```
|
|
||||||
|
|
||||||
###### Windows (PowerShell)
|
###### Windows (PowerShell)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -49,6 +44,23 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
(New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\autoload\plug.vim"))
|
(New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\autoload\plug.vim"))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Neovim
|
||||||
|
|
||||||
|
###### Unix
|
||||||
|
|
||||||
|
```sh
|
||||||
|
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||||
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
|
```
|
||||||
|
|
||||||
|
###### Windows (PowerShell)
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
md ~\AppData\Local\nvim\autoload
|
||||||
|
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||||
|
(New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\AppData\Local\nvim\autoload\plug.vim"))
|
||||||
|
```
|
||||||
|
|
||||||
### Getting Help
|
### Getting Help
|
||||||
|
|
||||||
- See the [requirements] page for debugging information & tested configurations.
|
- See the [requirements] page for debugging information & tested configurations.
|
||||||
|
|
Loading…
Reference in a new issue