mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Encourage use of path argument to plug#begin() to avoid confusion
This commit is contained in:
parent
7ef73525bc
commit
3e65d146ad
12
README.md
12
README.md
@ -32,7 +32,7 @@ curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/mast
|
|||||||
Edit your .vimrc
|
Edit your .vimrc
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
call plug#begin()
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
Plug 'junegunn/seoul256.vim'
|
Plug 'junegunn/seoul256.vim'
|
||||||
Plug 'junegunn/vim-easy-align'
|
Plug 'junegunn/vim-easy-align'
|
||||||
@ -48,11 +48,11 @@ Reload .vimrc and `:PlugInstall` to install plugins.
|
|||||||
|
|
||||||
### Plugin directory
|
### Plugin directory
|
||||||
|
|
||||||
By default, plugins are installed in `plugged` directory under the first path in
|
If you omit the path argument to `plug#begin()`, plugins are installed in
|
||||||
runtimepath at the point when `plug#begin()` is called. This is usually
|
`plugged` directory under the first path in `runtimepath` at the point when
|
||||||
`~/.vim/plugged` (or `$HOME/vimfiles/plugged` on Windows) given that you didn't
|
`plug#begin()` is called. This is usually `~/.vim/plugged` (or
|
||||||
touch runtimepath before the call. You can explicitly set the location of the
|
`$HOME/vimfiles/plugged` on Windows) given that you didn't touch runtimepath
|
||||||
plugins with `plug#begin(path)` call.
|
before the call.
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user