Define the Mutt-like keymap and contextual help #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Provide a coherent Mutt-like default keymap and context-sensitive help for every TUI action.
Scope
j/k, arrows, page/home/end, Enter, Tab, Shift-Tab,q,?,/,:and a manual-lock key.Acceptance criteria
Prerequisites
TUI shell; sidebar; structured viewer and editor.
Implemented in commit
639ae0d. The TUI now has a single typed action registry for key resolution, compact context hints, command names, and contextual help. It covers common navigation, mode-scoped direct pass workflows, Git pull/push two-key sequences, manual locking, destructive confirmation guidance, terminal repeat events, escape cancellation, unavailable keys, and text-input precedence. Workflow keys dispatch typed UI effects only; password-store behavior remains in crates/storage. Verified with cargo fmt --all -- --check; RUSTFLAGS='-D warnings' cargo check --workspace --all-targets; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace.