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:
Clément Delafargue 2023-01-16 11:13:03 +01:00 committed by Michael Davis
parent 6f6334f3c6
commit 425d7e5f1b

View file

@ -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: