Mention g:NERDCreateDefaultMappings in README.md (#445)

This commit is contained in:
Wynell 2020-11-19 12:25:03 +03:00 committed by GitHub
parent 85750560a6
commit 253eafd3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,9 @@ Please see the vim help system for full documentation of all options: `:help ner
Several settings can be added to your vimrc to change the default behavior. Some examples:
```vim
" Create default mappings
let g:NERDCreateDefaultMappings = 1
" Add spaces after comment delimiters by default
let g:NERDSpaceDelims = 1
@ -103,6 +106,8 @@ let g:NERDToggleCheckAllLines = 1
### Default mappings
> **Note:** You can turn off settings default mappings to provide your own from scratch (look at the [Settings list](#settings) above)
The following key mappings are provided by default (there is also a menu provided that contains menu items corresponding to all the below mappings):
Most of the following mappings are for normal/visual mode only. The **|NERDCommenterInsert|** mapping is for insert mode only.