Show HN: difi – A Git diff TUI with Neovim integration (written in Go)
38 points - today at 1:47 PM
SourceComments
1. It will ease reading. It's currently terrible, you might be used to it but we aren't.
2. It will sharpen the text and make it easier to read since there's less to encode into the GIF format.
Additional recommendations: remove the useless part on the right—I use Arch BTW vibe—and make the font bigger.
Also kudos for putting up a screenshot. I've looked through a lot of projects claiming to do similar to this, but there are so many different interpretations that can make it not a good fit for me, and when there aren't any screenshots the barrier of seeing it in action is often too high to where I only try one or two before I give up and stop wasting time. Having a screenshot made it so I could check it out quickly.
The screenshot is a little rough, so a few tips for next time:
1. Shrink your terminal window down a bit as a huge view is harder to follow
2. Keep the screenshots at full resolution so they are easier to read. The reduced resolution and the original screen being huge makes the text pretty difficult to read, even zoomed in to 200%
3. Use something like screenkey (or throw some subtitle text up or something) so the viewer knows what keys you are pressing and/or what you're trying do. It's pretty hard to follow along without those cues.
Great work, and thanks for sharing!
Full featured, also written in go, if that sort of thing matters to you
https://github.com/tpope/vim-fugitive
Very useful for inspecting and staging changes, making commits, etc.
I find you can pretty much do anything with it, and it's much faster than anything else, but it does have a slight learning curve. The documentation is very good!
With difi the TUI made for git diff it allows to me speed up the review process and make it more enjoyable.
For the nvim integration, there already exists diffview and code diff, but I still favors the github website's solution of highlighting + and - inside one file rather then side by side.
difi: https://github.com/oug-t/difi difi.nvim: https://github.com/oug-t/difi.nvim
Now it mainly supports `nvim`.