Merge bc5e071d35
into 9813d5ead5
This commit is contained in:
commit
44d55e1690
22
README.md
22
README.md
|
@ -31,11 +31,22 @@ and put it in the "autoload" directory.
|
|||
|
||||
###### Unix
|
||||
|
||||
- Terminal way:
|
||||
|
||||
```sh
|
||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
```
|
||||
|
||||
- Vimrc way:
|
||||
|
||||
```vim
|
||||
" Put these lines into your vimrc. vim-plug will be installed automatically.
|
||||
if !filereadable(glob('~/.vim/autoload/plug.vim'))
|
||||
call system("curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim")
|
||||
endif
|
||||
```
|
||||
|
||||
###### Windows (PowerShell)
|
||||
|
||||
```powershell
|
||||
|
@ -53,11 +64,22 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
|||
|
||||
###### Unix
|
||||
|
||||
- Terminal way:
|
||||
|
||||
```sh
|
||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
```
|
||||
|
||||
- Vimrc way:
|
||||
|
||||
```vim
|
||||
" Put these lines into your vimrc. vim-plug will be installed automatically.
|
||||
if !filereadable(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
||||
call system("curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim")
|
||||
endif
|
||||
```
|
||||
|
||||
###### Windows (PowerShell)
|
||||
|
||||
```powershell
|
||||
|
|
Loading…
Reference in New Issue
Block a user