3 ms·
I already use delta for this: https://github.com/dandavison/delta https://github.com/dandavison/delta I thought delta was fairly well-known by now so I was sur
by kbd 5y ago
I already use delta for this: https://github.com/dandavison/delta https://github.com/dandavison/delta
I thought delta was fairly well-known by now so I was surprised to see this project not mention it (the readme already has a section for that). I wonder what they've chosen to do differently, besides write it in Node.js.
- milkbikis 5y agoYeah I (un)fortunately learned about delta too late or I probably wouldn't have made this. The main difference is that delta's default styles and appearance did not appeal to me. I'm sure it can be customized, but I wanted something that looked great by default. I especially like that the syntax highlighting matches vscode's since that's the editor I use for work.
- kbd 5y ago> syntax highlighting matches vscode An that's cool. I've always had a dream of having the same syntax highlighting set up everywhere: vscode, bat, vim, git diff... etc.
- d76d6776yudsy 5y agocheck out base16 http://chriskempson.com/projects/base16/ http://chriskempson.com/projects/base16/
- r0rshrk 5y agolink is dead for me
- Noumenon72 5y agoI agree that's important! Delta's screenshot colors are so ugly that yours looks like the far superior product. It also seems more focused on diffs. I feel like I could drop in your project instantly, while delta seems to expect configuration.
- petepete 5y agoI use Delta and enjoy it, but using it with Git is a bit frustrating. I wish it was able to automatically switch from side-by-side to vertical diffs depending on my terminal widt, or at least override it with --side-by-side.
- kbd 5y agoYes! This is my number one thing as well. Let me dig up the tickets... Edit: https://github.com/dandavison/delta/issues/493#issuecomment-820936721 https://github.com/dandavison/delta/issues/493#issuecomment-...
- milkbikis 5y agoYes this is the default behavior for git-split-diffs: https://github.com/banga/git-split-diffs#narrow-terminals https://github.com/banga/git-split-diffs#narrow-terminals
- ComputerGuru 5y agoIt’s definitely nice that delta doesn’t have a run-time dependency on node.
- giantandroids 5y agoI would much rather use this, a nice secluded statically compiled blob instead of letting node.js unspool a spaghetti of dependencies.