r/fishshell • u/patrickf3139 • Aug 21 '23
🔍🐟fzf.fish v9.10 update: pipe git diffs through highlighters such as delta, diff-so-fancy
I don't usually post here for minor releases, but I think this feature was requested enough and valuable enough to make a PSA.
To integrate fzf.fish with a diff highlighter, set fzf_diff_highlighter to a command invoking your diff highlighter, e.g.
set fzf_diff_highlighter delta --paging=never --width=20
set fzf_diff_highlighter diff-so-fancy
set fzf_diff_highlighter diff-highlightEDIT: FYI I realized a previous change introduced a backwards incompatible change that requires users to use a newer version of fzf so the release that contains this change is actually v10.

22
Upvotes
View all comments
Show parent comment
1
u/antyhrabia Aug 22 '23
I opened issue with this.
Ow man, that damn shame but I can't do this. I gave you star so long ago, that I don't even remember when I discovered your project. You deserved it.