Top
Best
New

Posted by oug-t 3 days ago

Show HN: difi – A Git diff TUI with Neovim integration (written in Go)(github.com)
45 points | 47 commentspage 2
manescianera 3 days ago|
Looks neat! Any chance to integrate delta with it?

https://github.com/dandavison/delta

nickjj 3 days ago||
Delta is great.

Fortunately you can create a git diff TUI using `fzf` and `git diff` with pretty much a 1 line shell script.

For example: https://github.com/nickjj/dotfiles/blob/master/.local/bin/gd

If you run `gd` or `gd --side` it will show you a diff.

Delta can be used as a git diff tool by configuring your git tools, such as: https://github.com/nickjj/dotfiles/blob/master/.config/git/c...

manescianera 3 days ago||
I'm using fzf time to time but for some reason never thought of setting up git diff like that. Thanks, I think I will borrow this :)
oug-t 3 days ago||
Delta looks beautiful!

I will definitely try to integrate it with `delta`.

Now `difi` is enabling interactive feature when for letting user to see the changes directly inside editor with nvim plugins. `delta`'s outputs formatted ANSI text is also very interesting to integrate!

LysPJ 3 days ago||
Looks nice! Any chance of a side-by-side mode?
oug-t 3 days ago|
Definitely, I will try to do a TUI integration with `diffview` anad `codediff` which supports beautiful side side mode.

Thank you!

lasgawe 3 days ago||
This looks really cool. I need to try it. Previously I used Sublime Merge for diff issues.
oug-t 3 days ago|
Thank you ~
pure-orange 3 days ago|
very nice, lovely tui. Does it support viewing the diff of unstaged files? I tend to do a lot of commit amending locally so would be nice if I could see the status of these before I amend the commit
oug-t 3 days ago|
Thanks! Great point.

Now it defaults to comparing current branch vs `main` for PR review, but I will definitely see the value in a `local changes` mode for pre-commit checks!