Add reload vimrc step to usage section
Reloading the .vimrc should be part of the usage section, not the example section.
This commit is contained in:
parent
ca0ae0a8b1
commit
8cd8dde5ee
|
@ -92,6 +92,7 @@ Add a vim-plug section to your `~/.vimrc` (or `stdpath('config') . '/init.vim'`
|
||||||
1. `call plug#end()` to update `&runtimepath` and initialize plugin system
|
1. `call plug#end()` to update `&runtimepath` and initialize plugin system
|
||||||
- Automatically executes `filetype plugin indent on` and `syntax enable`.
|
- Automatically executes `filetype plugin indent on` and `syntax enable`.
|
||||||
You can revert the settings after the call. e.g. `filetype indent off`, `syntax off`, etc.
|
You can revert the settings after the call. e.g. `filetype indent off`, `syntax off`, etc.
|
||||||
|
1. Reload .vimrc (`:source ~/.vimrc`) and `:PlugInstall` to install plugins.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
|
@ -143,8 +144,6 @@ call plug#end()
|
||||||
" syntax off " Disable syntax highlighting
|
" syntax off " Disable syntax highlighting
|
||||||
```
|
```
|
||||||
|
|
||||||
Reload .vimrc and `:PlugInstall` to install plugins.
|
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user