mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Update README.md (Powershell Install One-Liner) (#1003)
A tidy one liner for the powershell install command.
Much like the unix one 😄
This commit is contained in:
parent
457bebcd30
commit
13ea184015
20
README.md
20
README.md
@ -44,14 +44,8 @@ file as suggested [here][auto].
|
|||||||
###### Windows (PowerShell)
|
###### Windows (PowerShell)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
md ~\vimfiles\autoload
|
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
|
||||||
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
ni $HOME/vimfiles/autoload/plug.vim -Force
|
||||||
(New-Object Net.WebClient).DownloadFile(
|
|
||||||
$uri,
|
|
||||||
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
|
|
||||||
"~\vimfiles\autoload\plug.vim"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Neovim
|
#### Neovim
|
||||||
@ -73,14 +67,8 @@ curl -fLo ~/.var/app/io.neovim.nvim/data/nvim/site/autoload/plug.vim \
|
|||||||
###### Windows (PowerShell)
|
###### Windows (PowerShell)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
md ~\AppData\Local\nvim-data\site\autoload
|
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
|
||||||
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
ni "$env:LOCALAPPDATA/nvim-data/site/autoload/plug.vim" -Force
|
||||||
(New-Object Net.WebClient).DownloadFile(
|
|
||||||
$uri,
|
|
||||||
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
|
|
||||||
"~\AppData\Local\nvim-data\site\autoload\plug.vim"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Getting Help
|
### Getting Help
|
||||||
|
Loading…
Reference in New Issue
Block a user