sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
3.57k stars 101 forks source link

How can I just compare 2 buffers ? (non-git files) #420

Closed searleser97 closed 9 months ago

searleser97 commented 9 months ago

so, just noticed this plugin doesn't really add any nice UI, it just uses the default/builtin diff view from vim which is already good enough. This plugin just helps with git-like stuff

sindrets commented 9 months ago

We do have UI, but the diff is driven by the builtin diff-mode. As is described in the README. This is a very VCS centered plugin. If you just wanna compare any two files, just use the builtin :h :diffsplit command.