diffs.nvim/lua/diffs
Barrett Ruth 9289f33639 feat(fugitive): add status buffer keymaps for unified diffs
Adds du/dU keymaps to fugitive's :Git status buffer for opening unified
diffs instead of side-by-side diffs:
- du opens horizontal split (mirrors dd)
- dU opens vertical split (mirrors dv)

Parses status buffer lines to extract filename and detect section
(staged/unstaged/untracked). For staged files, diffs index vs HEAD.
For unstaged files, diffs working tree vs index.

Configurable via vim.g.diffs.fugitive.horizontal/vertical (set to
false to disable).
2026-02-04 22:23:21 -05:00
..
commands.lua feat(commands): add gdiff_file for diffing arbitrary paths 2026-02-04 22:23:13 -05:00
fugitive.lua feat(fugitive): add status buffer keymaps for unified diffs 2026-02-04 22:23:21 -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 feat: treesitter highlighting for diff headers 2026-02-04 15:11:35 -05:00