Skip to content

Kind is a broad category for keybindings that is displayed as part of the visual documentation for key bindings. There should be no more than 5 or so kinds, since they are differentiated via colors. Furthermore, not knowing the kind of a keybinding should never cause the meaning of a key to be ambiguous; they are meant as a visual aid.

Example

toml
[[kind]]
name = "action"

[[kind]]
name = "motion"

[[bind]]
kind = "action"
key = "d"
command = "deleteLeft"

[[bind]]
kind = "motion"
key = "l"
command = "cursorLeft"