Skip to main content

Module keymap

Module keymap 

Source
Expand description

P5-4 (§3.1 capabilities.tui.keymap.<action> = "<key>", “configurable keybindings”): a name→KeyEvent table for the small set of GLOBAL actions a user can rebind, layered over sensible defaults. Modal-local navigation (arrow keys, Enter/Esc to confirm/cancel a prompt) is deliberately NOT part of this table — those are fixed, universal conventions, not a rebind surface — only the actions listed in KeymapAction::ALL are.

Structs§

Keymap
The resolved action→key table — KeymapAction::default_key for every action, with any Self::with_overrides substitutions applied.

Enums§

KeymapAction
A rebindable global TUI action.