mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Hard-wrap installation instructions for Windows (#649)
Long snippets are sometimes difficult to fully select in a Web browser. Hard wrapping snippets to make them easier to grab.
This commit is contained in:
parent
449b4f1ed6
commit
cd39fa6133
14
README.md
14
README.md
@ -41,7 +41,12 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|||||||
```powershell
|
```powershell
|
||||||
md ~\vimfiles\autoload
|
md ~\vimfiles\autoload
|
||||||
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
$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
|
#### Neovim
|
||||||
@ -58,7 +63,12 @@ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
|||||||
```powershell
|
```powershell
|
||||||
md ~\AppData\Local\nvim\autoload
|
md ~\AppData\Local\nvim\autoload
|
||||||
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
$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"))
|
(New-Object Net.WebClient).DownloadFile(
|
||||||
|
$uri,
|
||||||
|
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
|
||||||
|
"~\AppData\Local\nvim\autoload\plug.vim"
|
||||||
|
)
|
||||||
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Getting Help
|
### Getting Help
|
||||||
|
Loading…
Reference in New Issue
Block a user