Use LF as a Directory Tree Diff Walker #2028
mibli
started this conversation in
Show and tell
Replies: 1 comment
-
Wow. Who could have thought that I am working on getting this to run on my machine.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I've created a simple diff walker in the spirit of
ncdu
, that utilizes new on-load hook, to display information about differences between previously set directories.I guess it could be added in a wiki, however I'd need someone to guide me on how to document that properly, as it includes a rather sizable script for diff cache generation. For now I've created a gist for it:
https://gist.github.com/mibli/21fd6ebc7364e1f65bdeecad481d62b1
The solution allows inserting
:start_diff $reference_directory
to switch to diff mode and generate cache and then it loads the cached diff percentage into custom info on directory load.Here's how it looks:
EDIT: I've now also added a diff previewer that will show diffs as a preview. Old previewer will be restored after stop_diff.
Beta Was this translation helpful? Give feedback.
All reactions