https://github.com/vimkim/fuzzydiff
Open the diff file when `git diff A B | fuzzydiff`. Diff magic!
https://github.com/vimkim/fuzzydiff
Last synced: 8 months ago
JSON representation
Open the diff file when `git diff A B | fuzzydiff`. Diff magic!
- Host: GitHub
- URL: https://github.com/vimkim/fuzzydiff
- Owner: vimkim
- Created: 2025-03-11T07:33:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-11T08:13:24.000Z (over 1 year ago)
- Last Synced: 2025-08-13T11:24:43.955Z (10 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔍 fuzzydiff

Use it just like delta or diffnav!
```sh
$ git diff branchA branchB | fuzzydiff.py
$ diff -ur a.txt b.txt | fuzzydiff.py
```
Then, just use `Up` or `Down` arrow keys and press `` to open it in your favorite text editor!
## What is fuzzydiff?
fuzzydiff is a lightning-fast tool that combines the power of `fzf` and `delta` to supercharge your diff viewing workflow. It opens piped diff files in a fuzzy finder interface, with beautiful syntax highlighting via delta, and lets you quickly open selected files in your preferred editor.
## ✨ Key Features
- ~**Blazing Fast**: Navigate through diffs with the speed and flexibility of fzf~ Not yet. I'll port it to Rust one day so please wait.
- **Beautiful Visualization**: See your changes with delta's beautiful syntax highlighting
- **Seamless Editing**: Press Enter to instantly open the selected file in your `$EDITOR`
- **Maximum Productivity**: Save precious development time with intuitive keyboard navigation
## 🤔 Why fuzzydiff?
As someone deeply invested in optimizing my development workflow, I created fuzzydiff to fill a specific gap:
- **For git power users**: Even as a heavy lazygit user, I found myself wanting something faster for certain diff scenarios
- **For vim/neovim enthusiasts**: Works perfectly alongside your existing telescope/fzf-lua workflows
- **For everyone**: Much faster than traditional methods when comparing branches or exploring diff patches
While you can achieve similar results with lazygit's `` or plugins like diff.nvim, fuzzydiff provides a streamlined, focused experience that's often much quicker for day-to-day use.
## 🚀 Getting Started
Unfortunately, since this being too nightly, pip or nix things are not yet supported.
You can just clone the repo, put the fuzzydiff.py into /usr/local/bin or any path you like and use it!
## 💡 Pro Tips
[Any additional tips for power users would go here]
---
Give it a try and watch your productivity soar! Questions or suggestions? Feel free to open an issue or PR.