on master help sign in
doc: add a note about nested bindings in key remapping
425d7e5Clément Delafargue
book/src/remapping.md+3
@@ -25,6 +25,9 @@ j = { k = "normal_mode" } # Maps `jk` to exit insert mode
25```
25```
26> NOTE: Typable commands can also be remapped, remember to keep the `:` prefix to indicate it's a typable command.
26> NOTE: Typable commands can also be remapped, remember to keep the `:` prefix to indicate it's a typable command.
27
27
28+> NOTE: Bindings can be nested, to create (or edit) minor modes: `g = { a = "code_action"}` adds a new entry to
29+> the `goto` mode.
30+
28Ctrl, Shift and Alt modifiers are encoded respectively with the prefixes
31Ctrl, Shift and Alt modifiers are encoded respectively with the prefixes
29`C-`, `S-` and `A-`. Special keys are encoded as follows:
32`C-`, `S-` and `A-`. Special keys are encoded as follows:
30
33