euporie.core.key_binding.registry

Define default key-bindings.

Functions

get_cmd(name)

Get a command from the centralized command system by name.

load_registered_bindings(*names[, config])

Assign key-bindings to commands based on a dictionary.

register_bindings(bindings)

Update the key-binding registry.

Classes

KeyBindings()

A container for a set of key bindings.

euporie.core.key_binding.registry.load_registered_bindings(*names: str, config: Config | None = None) KeyBindingsBase

Assign key-bindings to commands based on a dictionary.

euporie.core.key_binding.registry.register_bindings(bindings: dict[str, KeyBindingDefs]) None

Update the key-binding registry.