Hacker GitHub

← All repos

banga/git-split-diffs

View on GitHub ↗ ★ 2,746 TypeScript

Syntax highlighted side-by-side diffs in your terminal

6 mentions on Hacker News by 2 people: 1 story, 5 comments · first 2021-05-01 · latest 2024-06-10

Mentions per year 6 mentions · busiest year 2021 (5)
20082026
  1. if i had to recommend 1 app/script that i use daily: https://github.com/banga/git-split-diffs `karabiner elements` ( https://karabiner-elements.pqrs.org/ ) to disable things like "Apple + Q" -> nothing worse than going to close a single…
  2. I wrote https://github.com/banga/git-split-diffs mainly to scratch an itch about not having side by side git diffs in the terminal, then ended up adding more fancy features like syntax highlighting and it got somewhat popular.
    comment by milkbikis · 2021-06-12 · in Ask HN: Tools you have made for yourself?
  3. …as my local machine. This is the script I use for now, which has to be invoked manually: https://github.com/banga/git-split-diffs/blob/main/scripts/g...
  4. The slowest operation is syntax highlighting: https://github.com/banga/git-split-diffs#performance . I have a PR out to improve that somewhat. Good point about the themes, I'll add one. I'm hoping to make it easy to customize individual…
  5. Yes this is the default behavior for git-split-diffs: https://github.com/banga/git-split-diffs#narrow-terminals
  6. ▲ 178
    Show HN: GitHub style split diffs in your terminal
    story by milkbikis · 2021-05-01 · 50 comments