Expand description
Key bindings: neogit-style defaults per screen, overridable from
[keys.*] config sections, with multi-key sequence resolution.
Structs§
Enums§
- Action
- Everything a key can do. Defined as the full superset so config action names stay stable across screens.
- Context
- Which screen’s keymap is active.
- Resolved
- Outcome of feeding one key press into a keymap.
Functions§
- press_
from_ event - Normalize a crossterm key event into the chord-matching shape. Letters
carry shift via their case (matching
parse_chord); shifted symbols like{already encode shift in the character, so the modifier is dropped: terminals disagree on whether they report it. - render_
chord - Render a chord back to the
parse_chordsyntax for warnings, hints, and the help popup.