Live data from Hacker News

Delta: A syntax-highlighting pager for Git, diff, grep, and blame output

github.com

21–30 of 98 posts

Re: Delta: A syntax-highlighting pager for Git, diff, grep, and blame output

#22

I’ve been using Araxis Merge for almost 20 years. This seems… not as good?

Different use case. This is just a diff pager, it's not supposed to help you solve complicated 3 way merges.

On a separate tangent - I haven't needed to do a gnarly merge in years it seems like. I feel like the dev community has collectively gotten better at git/SCM in general. Maybe I was super junior before but it's just not a problem I seem to face in daily software dev anymore.

Re: Delta: A syntax-highlighting pager for Git, diff, grep, and blame output

#24

The thing that prevents me from using delta is lack of "system" theme detection. Can't set it up and forget and mismatching theme with shell makes it really difficult to read.

Hi, delta now automatically detects whether the terminal background is light or dark and selects a theme accordingly. (This is due to the nice work of contributor bash: https://github.com/bash/terminal-colorsaurus)

Re: Delta: A syntax-highlighting pager for Git, diff, grep, and blame output

#26
post #11

I'm still on diff-so-fancy; Worth investigating this one?

Same here, to be honest I never gave much thought to seeking alternatives, but this one looks really nice, especially having the line numbers and similar layout to GitHub diffs

Re: Delta: A syntax-highlighting pager for Git, diff, grep, and blame output

#28

The thing that prevents me from using delta is lack of "system" theme detection. Can't set it up and forget and mismatching theme with shell makes it really difficult to read.

Hi, delta now automatically detects whether the terminal background is light or dark and selects a theme accordingly. (This is due to the nice work of contributor bash: https://github.com/bash/terminal-colorsaurus )

On a not-so-completely unrelated note, if you didn't know on GitHub READMEs you can do things like

  ![img-text](assets//myimg_dark.png#gh-dark-mode-only)
  ![img-text](assets/myimg_light.png#gh-light-mode-only)
To automatically display the light or dark version of images depending on their gh theme (works html style too)

I'm also fond of

  
     ....
  

Which I notice you do :), but did you know you could also do it to tables and center the caption?

  
    
      
        
        
delta with side-by-side and line-numbers activated

This isn't really a critique or anything, it is that I appreciate that you took the time to make things look pretty and it seems like you'd be interested in this kind of stuff

Also to others, this even works in issues and elsewhere. I find this stuff really helpful when writing issues

Post reply on HN