github.com/dlvhdr/diffnav
v0.12.0
#1141 most downloaded on Go modules
dlvhdr/diffnav
What this package is like to depend on
Last release today
22 Aug 2026
Release timing varies
gaps range from 8 days to 2 months
Some releases are documented
notes for 10 of 24 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
46 releases · first in 2024
21 releases in the last 12 months
see the full history below
Release timeline
46 releases · Sep 2024 to Aug 2026Releases
latest 46-
v0.12.1-0.20260822181337-c9def275e01c22 Aug 2026 pre-releaseNothing published for this version
-
v0.12.1-0.20260808104208-9b6c283767a308 Aug 2026 pre-releaseNothing published for this version
-
v0.12.024 Jul 2026Release notes
Open source →Robust Diff Searching
I've integrated https://github.com/robinovitch61/viewport to enable searching in the diffview.
It supports regular, insensitive, regex and fuzzy search modes.Changelog
New Features
- 1f92077 feat(diff): scroll line up/down when focused on tree (#140)
- 1de38e6 feat(diffviewer): use viewport by robinovitch61 (#144)
- 214ed73 feat: add ui.startFoldersOpenDepth config option (#123)
- 4e7ddc6 feat: scroll to bottom and top (#125)
- 7934a39 feat: show file tree when showFileTree is false (#130)
Fixes
- 5f77725 Resolve Git repo root from CWD when possible. (#118)
- cbd0e97 fix(diffviewer): wrap long lines through delta in side-by-side, mark clipped lines in unified (closes #99) (#133)
- 19b947d fix(filetree): use forward-slash path separator for git diff paths (#121) (#128)
- 8c2de69 fix: keys not handled in some cases (#136)
- a2722c2 fix: pass non-unified-diff input through to stdout (closes #115) (#132)
- d592537 fix: sponsors (#134)
Chores
-
v0.11.1-0.20260715084908-ace88bad0d5615 Jul 2026 pre-releaseNothing published for this version
-
v0.11.1-0.20260627085814-9043bf92092627 Jun 2026 pre-releaseNothing published for this version
-
v0.11.1-0.20260501201155-7b12b799623701 May 2026 pre-releaseNothing published for this version
-
v0.11.021 Mar 2026Release notes
Open source →v0.11.0
Notable Features
- Search (accessed via t) now shows the filename first and has icons
- n/p/N is used to navigate to next/previous file
- If used with
git show, and there's a commit preamble present, pressing m will show the commit info. It's also shown in the header - There's finally a scrollbar in the diffview
- Thanks to new contributor @vertti
diffnavnow supports awatchflag which will rungit diffby default (but can be controlled). It will run the command while maintaining the UI state
Once again, thanks to @pablospe for his awesome contributions!
Changelog
- 0957bb1 chore: upgrade deps (#114)
- 4a31deb ci: add basic CI workflow (#113)
- dc735a5 feat(search): show filename first + icons (#105)
- 822adc6 feat: Add shift+tab as alias for tab to switch panels (#109)
- 41f1c16 feat: add F1 key to toggle help overlay (#101)
- c899b9e feat: add n (next file) and p/N (previous file) shortcuts to jump between files (#98)
- e651360 feat: add scrollbar to diff viewer (#112)
- e616b2a feat: add watch mode for auto-refreshing diffs (#96)
- 19503d8 feat: commit info overlay with
mkey (#103) - e215560 feat: show commit info when used as a pager for git show (#97)
- 2898ff7 fix: sidebar search crashes (#95)
-
v0.10.1-0.20260306192345-2898ff7523b806 Mar 2026 pre-releaseNothing published for this version
-
v0.10.015 Feb 2026 -
v0.9.1-0.20260213170053-11281c39f26113 Feb 2026 pre-releaseNothing published for this version
-
v0.9.007 Feb 2026 -
v0.8.206 Feb 2026 -
v0.8.2-0.20260131202423-0954ccc19bf631 Jan 2026 pre-releaseNothing published for this version
-
v0.8.131 Jan 2026 -
v0.8.031 Jan 2026Release notes
Open source →The Collapsible Release
Directories Are Now Intractable
The main feature of this release is that you can now collapse and expand directories!
Screen.Recording.2026-01-31.at.22.14.09.1.mov
In addition you can view the diff for entire directories at once, as well as the entire diff if you're on the root node.Diffstats
Diff stats in the file tree show you the amount of changes to a file in a glance.
This is on by default and you can turn it off by setting this in your config:ui: showDiffStats: false
Enjoy!
Changelog
-
v0.7.1-0.20260130144907-cdc1ccf2189b30 Jan 2026 pre-releaseNothing published for this version
-
v0.7.030 Jan 2026Release notes
Open source →New File Tree Infra + File Icons!
v0.7.0 uses a new file tree under the hood that in the future will enable expanding/collapsing directories. Watch out for future updates.
Also, star contributor @pablospe added support for file icons with this config option:
ui: icons: nerd-fonts-full
Changelog
-
v0.6.014 Jan 2026Release notes
Open source →Unified Diff Mode Toggle
Thanks to @markdorison 🙏🏽
diffnavnow supports toggling between side-by-side and unified diff modes.
Press s to switch between the two or use the--side-by-sideand--unifiedflags.
You can also set this in the config file underui.sideBySide.Changelog
-
v0.5.012 Jan 2026 -
v0.4.1-0.20260109172359-47787e2cb59009 Jan 2026 pre-releaseNothing published for this version
-
v0.4.009 Jan 2026Nothing published for this version
-
v0.3.110 May 2025Nothing published for this version
-
v0.3.007 Jan 2025Nothing published for this version
-
v0.2.805 Oct 2024Nothing published for this version
-
v0.2.704 Oct 2024Nothing published for this version
-
v0.2.7-0.20241003210419-4bfc333a061e03 Oct 2024 pre-releaseNothing published for this version
-
v0.2.603 Oct 2024Nothing published for this version
-
v0.2.501 Oct 2024Nothing published for this version
-
v0.2.427 Sep 2024Nothing published for this version
-
v0.2.327 Sep 2024Nothing published for this version
-
v0.2.227 Sep 2024Nothing published for this version
-
v0.2.127 Sep 2024Nothing published for this version
-
v0.2.027 Sep 2024Nothing published for this version
-
v0.1.125 Sep 2024Nothing published for this version
-
v0.1.1-0.20240924163242-986291b684ce24 Sep 2024 pre-releaseNothing published for this version
-
v0.1.1-0.20240924133220-8fe619ab89c224 Sep 2024 pre-releaseNothing published for this version
-
v0.1.1-0.20240924131343-a5f5032a193924 Sep 2024 pre-releaseNothing published for this version
-
v0.1.024 Sep 2024Nothing published for this version
-
v0.0.0-20240924075016-2e2c07110b8c24 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240923182556-5e0c900f802a23 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240922201244-c6defd33906422 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240922194310-f5e4c822796e22 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240922193714-8a5d6d0d419922 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240921185612-b9932873fb6621 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240921182612-5436202ca14021 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20240920195428-6b1accc0798620 Sep 2024 pre-releaseNothing published for this version