Debug & inspect · beta · Neovim 0.9+ · 180 commits
diff.nvim
Flexible diffing for Neovim: one :Diff command compares arbitrary sources — buffers, files, git revisions, URLs, whole directories — against each other and delivers the result however you like: split, inline, prompt, file, clipboard, or a one-line stat summary.
demos/diff.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Diff target=file - this buffer against a file
- ]c and [c - jump between hunks
Connections
Tap the picture to open it at full size.
Install
{
"WKDSteve/diff.nvim",
opts = {},
} Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
Documentation
Recent commits
- fix api: a path with a dollar sign is taken as it is in the table form of run()
- fix tree: two folders from a tab with only the tree open in a tab of their own
- fix tree: the editor's file is recognised through another spelling of its path
- feat tree: "Compare" as an action on nodes of a tree view
- feat api: run() takes its arguments as a table, so a path with a blank can be given
- docs readme: connections to the other repos of the workshop, as a picture and a list
- docs readme: the icon of the plugin on top, the files in assets/icons/diff-nvim
- ci regenerate the workflow, the ci-verified lookup fails closed (pipefail)
Combos
- Git family
Git tooling for the editor: history and diffing, and the repo-health numbers around them.