mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Consistency
parent
0f9aac4253
commit
81d52eff1e
6
tips.md
6
tips.md
@ -2,7 +2,7 @@
|
||||
|
||||
### Automatic installation
|
||||
|
||||
Place the following code in your .vimrc before `plug#begin()` call
|
||||
_Place the following code in your .vimrc before `plug#begin()` call_
|
||||
|
||||
```vim
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||
@ -24,9 +24,9 @@ Resort to this only if git cannot get updated certificates or if Github has TLS/
|
||||
|
||||
You can even go a step further and make `:PlugInstall` run on startup if there are any missing plugins.
|
||||
|
||||
```vim
|
||||
" Put this code before Plug block (plug#begin ~ plug#end)
|
||||
_Place the following code in your .vimrc before `plug#begin()` call_
|
||||
|
||||
```vim
|
||||
" Install vim-plug if not found
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||
|
Loading…
Reference in New Issue
Block a user