File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,26 @@ A minimalist Vim plugin manager.
27
27
[ Download plug.vim] ( https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim )
28
28
and put it in the "autoload" directory.
29
29
30
+ #### Vim
31
+
30
32
###### Unix
31
33
32
34
``` sh
33
35
curl -fLo ~ /.vim/autoload/plug.vim --create-dirs \
34
36
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
35
37
```
36
38
37
- ###### Neovim
39
+ ###### Windows (PowerShell)
40
+
41
+ ``` powershell
42
+ md ~\vimfiles\autoload
43
+ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
44
+ (New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles\autoload\plug.vim"))
45
+ ```
46
+
47
+ #### Neovim
48
+
49
+ ###### Unix
38
50
39
51
``` sh
40
52
curl -fLo ~ /.local/share/nvim/site/autoload/plug.vim --create-dirs \
@@ -44,9 +56,9 @@ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
44
56
###### Windows (PowerShell)
45
57
46
58
``` powershell
47
- md ~\vimfiles \autoload
59
+ md ~\AppData\Local\nvim \autoload
48
60
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
49
- (New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\vimfiles \autoload\plug.vim"))
61
+ (New-Object Net.WebClient).DownloadFile($uri, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("~\AppData\Local\nvim \autoload\plug.vim"))
50
62
```
51
63
52
64
### Getting Help
You can’t perform that action at this time.
0 commit comments