docs(keybind): add some documentation for keybinding inheritance
This commit is contained in:
parent
65a3e50b43
commit
9d80a0f0fa
1 changed files with 18 additions and 0 deletions
18
help.md
18
help.md
|
@ -69,6 +69,24 @@ like this:
|
||||||
This allows you to make only minor additions/changes to an existing builtin
|
This allows you to make only minor additions/changes to an existing builtin
|
||||||
mode without copying the whole mode and is easier to keep up-to-date.
|
mode without copying the whole mode and is easier to keep up-to-date.
|
||||||
|
|
||||||
|
Additionally, individual sub-modes may inherit all non-conflicting keybindings
|
||||||
|
from another sub-mode of the same mode by adding an `inherit` option to the
|
||||||
|
sub-mode section like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
"normal": {
|
||||||
|
"inherit": "project",
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
Multiple inheritance is supported with the `inherits` options like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
"normal": {
|
||||||
|
"inherits": ["project", "tasks"],
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
## Flow mode
|
## Flow mode
|
||||||
|
|
||||||
The default input mode, called just flow, is based on common GUI
|
The default input mode, called just flow, is based on common GUI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue