dotfiles/neovim/config
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes e7b1d3aa83
Add a diff-against-branch keymap to diffview.nvim
gd only diffs the working tree against the index, so it shows nothing
once a branch's work is already committed - found this reviewing a
fully-committed branch, where it just showed blank panes.

gm prompts for a rev and opens DiffviewOpen <rev>...HEAD instead. The
prompt defaults to whatever the first remote's HEAD points to, since
the base branch name isn't consistent across repos (main here,
develop in jonnybarnes.uk).

Verified against jonnybarnes.uk's micropub-token-revocation branch:
default_branch() correctly resolved forge/HEAD to develop there vs
main in this repo, and DiffviewOpen develop...HEAD listed all 25
changed files.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013t7aQbc4EyYtab1crvSFTd
2026-08-14 10:55:50 +01:00
..
plugins Add a diff-against-branch keymap to diffview.nvim 2026-08-14 10:55:50 +01:00
diagnostics.lua Fix which-key not seeing gitsigns maps, add diagnostic maps 2026-08-08 17:27:37 +01:00
init.lua Add gitsigns via vim.pack, track the pack lockfile 2026-08-08 13:57:02 +01:00
lsp.lua Updated neovim config for v0.12 2026-05-31 20:33:23 +01:00
options.lua Add gitsigns via vim.pack, track the pack lockfile 2026-08-08 13:57:02 +01:00