When blame is toggled on in the Preview panel, add a key that opens the commit responsible for the current line in the Commits panel. Blame tells you which commit last touched a line; the natural next step is to see that commit in full, and right now there is no way to jump straight to it.
Solution
Track the commit SHA for the line under the cursor in the blame view. On the new key, send a message that selects that commit in the Commits panel and switches it to commit-detail view, reusing the existing reactive panel messaging.
Acceptance criteria
- With blame on, a Preview key jumps to the current line's commit in the Commits panel.
- Uncommitted lines (all-zero SHA) are ignored with a short notification instead of a broken jump.
- The key is listed in
internal/keybindings/keybindings.json and the help overlay.
- Unit tests cover SHA lookup for the cursor line and the uncommitted-line case.
When blame is toggled on in the Preview panel, add a key that opens the commit responsible for the current line in the Commits panel. Blame tells you which commit last touched a line; the natural next step is to see that commit in full, and right now there is no way to jump straight to it.
Solution
Track the commit SHA for the line under the cursor in the blame view. On the new key, send a message that selects that commit in the Commits panel and switches it to commit-detail view, reusing the existing reactive panel messaging.
Acceptance criteria
internal/keybindings/keybindings.jsonand the help overlay.