Visidata: How to go to next difference with --diff?

Created on 21 Jun 2019  路  3Comments  路  Source: saulpw/visidata

If I do vd --diff foo.csv bar.csv, how do I navigate to the next difference? I tried searching f1 for diff but nothing useful showed up.

$ vd --version
saul.pw/VisiData v1.5.2

help wanted wishlist

Most helpful comment

In case it's useful to anyone, I have a little wrapper that first runs diff -u, to make it easier to get right at the differences.

All 3 comments

Hi @unhammer, unfortunately there's no easy way to do that. The diff functionality is actually just a quick hack, a colorizer off the given base sheet (see diff.py). I could see vdiff being a really great plugin, but it would have to be architected differently. I'd be happy to explore what that might look like, if you (or anyone) is interested in driving the development.

This issue has been moved to the maybe someday roadmap. If somebody wants to pick up the design for this functionality, reopen the issue and leave a message!

In case it's useful to anyone, I have a little wrapper that first runs diff -u, to make it easier to get right at the differences.

Was this page helpful?
0 / 5 - 0 ratings