mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-24 13:07:36 -07:00
Updated faq (markdown)
parent
6e24b29575
commit
5f0bc39da6
24
faq.md
24
faq.md
@ -44,7 +44,29 @@ page](https://github.com/junegunn/vim-plug/wiki/ruby).
|
||||
### Shouldn't vim-plug update itself on `PlugUpdate` like Vundle?
|
||||
|
||||
There is a separate `:PlugUpgrade` command and there are valid reasons behind the decision.
|
||||
A detailed discussion can be found [here](https://github.com/junegunn/vim-plug/issues/69).
|
||||
A detailed discussion can be found [here](https://github.com/junegunn/vim-plug/pull/240).
|
||||
|
||||
If you really want to use `PlugUpdate` instead of `PlugUpgrade` you can set up vim-plug like follows:
|
||||
|
||||
```sh
|
||||
" Manually clone vim-plug and symlink plug.vim to ~/.vim/autoload
|
||||
mkdir -p ~/.vim/{autoload,plugged}
|
||||
git clone https://github.com/junegunn/vim-plug.git ~/.vim/plugged/
|
||||
ln -s ~/.vim/plugged/vim-plug/plug.vim ~/.vim/autoload
|
||||
```
|
||||
|
||||
and in your .vimrc:
|
||||
|
||||
```vim
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'junegunn/vim-plug'
|
||||
" ...
|
||||
call plug#end()
|
||||
" The caveat is that you should *never* use PlugUpgrade
|
||||
delc PlugUpgrade
|
||||
```
|
||||
|
||||
Unlike `:PlugUpgrade`, you'll have to restart Vim after vim-plug is updated.
|
||||
|
||||
### Automatic installation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user