Skip to content

Binding

Binding dataclass

The configuration of a key binding.

action: str class-attribute

Action to bind to.

description: str class-attribute

Description of action.

key: str class-attribute

Key to bind. This can also be a comma-separated list of keys to map multiple keys to a single action.

key_display: str | None = None class-attribute

How the key should be shown in footer.

priority: bool = False class-attribute

Enable priority binding for this key.

show: bool = True class-attribute

Show the action in Footer, or False to hide.