From 06992bcfb96835535d27c28c06f5d0387f681957 Mon Sep 17 00:00:00 2001 From: Junegunn Choi <junegunn.c@gmail.com> Date: Fri, 19 May 2017 03:17:46 +0900 Subject: [PATCH] Update installation instruction for Neovim on Windows (#634) Close #633 --- README.md | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6c07806..e9da75a 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ A minimalist Vim plugin manager. [Download plug.vim](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim) and put it in the "autoload" directory. +#### Vim + ###### Unix ```sh @@ -34,13 +36,6 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ 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) ```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")) ``` +#### 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 - See the [requirements] page for debugging information & tested configurations.