Commit graph

6 commits

Author SHA1 Message Date
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
045a9044b5 feat: add :Gdiff, :Gvdiff, :Ghdiff commands for unified diff view
Compares current buffer against any git revision (default HEAD), opens result
with full diffs.nvim syntax highlighting. Follows fugitive convention:
:Gdiff/:Gvdiff open vertical split, :Ghdiff opens horizontal split.
2026-02-04 19:52:17 -05:00
67116f38bc feat: rename everything 2026-02-02 22:09:13 -05:00
686b02b790 feat: update autocmds for git filetypes with fugiive:/// bufnames 2026-02-02 16:46:58 -05:00
9b700ce869 feat: diffsplit support 2026-02-02 16:37:51 -05:00
21b8cfb470 feat: add the entire plugin 2026-02-01 17:38:32 -05:00