doc: add a note about nested bindings in key remapping
It was not clear (to me) that minor modes were configurable in the keymap configuration.
This commit is contained in:
parent
6f6334f3c6
commit
425d7e5f1b
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ j = { k = "normal_mode" } # Maps `jk` to exit insert mode
|
|||
```
|
||||
> NOTE: Typable commands can also be remapped, remember to keep the `:` prefix to indicate it's a typable command.
|
||||
|
||||
> NOTE: Bindings can be nested, to create (or edit) minor modes: `g = { a = "code_action"}` adds a new entry to
|
||||
> the `goto` mode.
|
||||
|
||||
Ctrl, Shift and Alt modifiers are encoded respectively with the prefixes
|
||||
`C-`, `S-` and `A-`. Special keys are encoded as follows:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue