Skip to content

hunk-history 0.0.4

Latest

Choose a tag to compare

@any-victor any-victor released this 05 Sep 22:03
· 3 commits to main since this release

Files and History in one sidebar

  • Switch Files/History immediately using full-width, hover-highlighted tabs. Each tab remembers its scroll position.
  • s hides or shows the entire sidebar, preserving the active tab. h switches tabs without changing visibility.
  • Native-style file navigation preserves ordering, rename labels, status colors and stats, with a thinner half-cell selection marker.
  • Staged and unstaged changes use plain colored S / W status letters, not shortcut-style brackets.
  • Keep pagination feedback visible and show animated loading in a fixed status area.
  • Scroll complete commit bodies at the chosen pane height; selecting another commit no longer resizes the message pane.
  • Preserve immediate single clicks, remount-safe double-click ranges, live history and pinned comparisons.

The extension uses Hunk's published replacement-pane API. Hunk still owns diff rendering, file selection and comments. Native file navigation is vendored with MIT attribution and pinned provenance.

Install

hunk extension install victor-software-house/hunk-history@v0.0.4

Existing unpinned installations can use hunk extension update hunk-history. Restart existing Hunk windows after preserving review notes. Existing hunk-history.files mappings now toggle the whole sidebar, just like native s.

Verified against Hunk 0.21.1 / extension API 16: typecheck and 110 tests, including full-tab backgrounds and whitespace clicks at even and odd widths, selected-file alignment, scrolling, range gestures and live Git history.