Skip to main content

Module keymap

Module keymap 

Source
Expand description

Key bindings: neogit-style defaults per screen, overridable from [keys.*] config sections, with multi-key sequence resolution.

Structs§

Keymap

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_chord syntax for warnings, hints, and the help popup.