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:
DanielApt 2023-09-26 11:17:44 +01:00 committed by GitHub
parent ca0ae0a8b1
commit 8cd8dde5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
- 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.
1. Reload .vimrc (`:source ~/.vimrc`) and `:PlugInstall` to install plugins.
#### Example
@ -143,8 +144,6 @@ call plug#end()
" syntax off " Disable syntax highlighting
```
Reload .vimrc and `:PlugInstall` to install plugins.
### Commands
| Command | Description |