euporie.core.key_binding.bindings.terminal

Contains key handlers for terminal queries.

Functions

add_cmd(**kwargs)

Add a command to the centralized command system.

get_match(event)

Get pattern matches from a key press event.

load_registered_bindings(*names[, config])

Assign key-bindings to commands based on a dictionary.

load_terminal_bindings([config])

Load editor key-bindings in the style of the micro text editor.

register_bindings(bindings)

Update the key-binding registry.

Classes

TerminalQueries()

Key bindings for terminal query responses.

class euporie.core.key_binding.bindings.terminal.TerminalQueries

Bases: object

Key bindings for terminal query responses.

euporie.core.key_binding.bindings.terminal.get_match(event: KeyPressEvent) dict[str, str] | None

Get pattern matches from a key press event.

euporie.core.key_binding.bindings.terminal.load_terminal_bindings(config: Config | None = None) KeyBindingsBase

Load editor key-bindings in the style of the micro text editor.