Replies: 2 comments
-
Shortly after posting this, I found the section about pagers in the docs, and this makes [ui]
pager = "delta"
[ui.diff]
format = "git" I'll leave this post up because I couldn't find how to configure delta before (and I searched through discussions). One problem that's left is with the above config, |
Beta Was this translation helpful? Give feedback.
-
Loving It turns out that by default, To use jj’s default pager = ["delta", "--pager", "less -FRX"] I don’t love this either because when I look at a diff, I don’t usually want it to stick around. I only want this behavior when I’m looking at the log, and even then, I might not want it all the time. It turns out you can put the following in
Then |
Beta Was this translation helpful? Give feedback.
-
I'm used to https://github.com/dandavison/delta for looking at diffs, and was wondering how to set it up with jj. I started with just setting the tool:
That results in this:
Note the very long left/right path. It can be improved like this:
What I haven't found is how to silence the warning at the end:
Has anyone figured out how? Any other tips?
Beta Was this translation helpful? Give feedback.
All reactions