← Back to context

Comment by nickjj

12 hours 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...

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 :)