euporie.core.commands.Binding

class euporie.core.commands.Binding(keys: tuple[Keys | str, ...], handler: KeyHandlerCallable, filter: FilterOrBool = True, eager: FilterOrBool = False, is_global: FilterOrBool = False, save_before: Callable[[KeyPressEvent], bool] = <function Binding.<lambda>>, record_in_macro: FilterOrBool = True)

Key binding: (key sequence + handler + filter). (Immutable binding class.)

Parameters:

record_in_macro – When True, don’t record this key binding when a macro is recorded.