diffs.nvim/lua/diffs
Barrett Ruth 9e857d4b29 feat(fugitive): line position tracking for keymaps
When pressing `du`/`dU` from a hunk line in the fugitive status buffer
(after expanding with `=`), the unified diff now opens at the
corresponding line instead of line 1.

Implementation:
- `fugitive.get_hunk_position()` returns @@ header and offset when on a hunk line
- `commands.find_hunk_line()` finds matching @@ header in diff buffer
- `commands.gdiff_file()` accepts optional `hunk_position` and jumps after opening

Also updates @phanen's README credit for the previous two fixes.

Closes #65
2026-02-05 00:27:35 -05:00
..
commands.lua feat(fugitive): line position tracking for keymaps 2026-02-05 00:27:35 -05:00
fugitive.lua feat(fugitive): line position tracking for keymaps 2026-02-05 00:27:35 -05:00
git.lua feat(git): add index and working tree content retrieval 2026-02-04 22:23:09 -05:00
health.lua feat: rename everything 2026-02-02 22:09:13 -05:00
highlight.lua feat: add :Gdiff, :Gvdiff, :Ghdiff commands for unified diff view 2026-02-04 19:52:17 -05:00
init.lua feat(fugitive): add status buffer keymaps for unified diffs 2026-02-04 22:23:21 -05:00
log.lua feat: add :Gdiff, :Gvdiff, :Ghdiff commands for unified diff view 2026-02-04 19:52:17 -05:00
parser.lua fix(parser): detect filetype from existing buffer 2026-02-05 00:13:32 -05:00