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

Config()

A configuration store.

KeyBindings()

A container for a set of key bindings.

Keys(value[, names, module, qualname, type, ...])

List of keys for use in 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.