jless icon indicating copy to clipboard operation
jless copied to clipboard

Requesting git integration

Open cohml opened this issue 1 year ago • 0 comments

Simple to explain, perhaps complex to implement, but I don't see any issues about this, so I'll throw it into the ring.

I've been using bat to view JSON files for years. bat has a nice feature whereby unstaged lines in files tracked by git have a little visual indicator in the margin (~), e.g.

image

I just discovered jless and it will certainly supplant bat for JSON viewing in my workflow. However bat is still superior in this area, the git integration piece.

If jless could do something similar - provide some indication of the status of the current file with respect to git - that would be hugely useful.

cohml avatar Feb 03 '24 05:02 cohml