Commit 19503d8
authored
feat: commit info overlay with
## Summary
- Add `m` key to open a floating overlay showing the full commit
preamble (hash, author, date, message body)
- Display commit metadata in the header bar: `DIFFNAV • hash date author
• [branch] subject`
- Clicking the header bar opens the overlay; clicking outside closes it
- Scrollable viewport with scrollbar when content overflows (mouse
wheel, j/k, up/down, ctrl+d/ctrl+u for half-page)
- Branch detection via `git branch --points-at` for any commit
- Does nothing for plain diffs without commit metadata
<img width="1831" height="1073" alt="image"
src="https://github.com/user-attachments/assets/03cdc2bb-58ad-4105-be3a-18d1694cca31"
/>m key (#103)1 parent c899b9e commit 19503d8
3 files changed
Lines changed: 425 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
0 commit comments