Unable to make delta use pager always #604
-
Thank you for delta, it's great. I've been trying to make it use pager always when invoked via git. I currently have
Anyone know what the problem could be? Where do I start debugging this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
Hey @osa1, thanks! I think that you can get what you want by doing something like I am not certain that everything is absolutely perfect regarding the precedence of the various arguments and env vars involved. For example, I personally thought that the following would page, but it did not:
So, there might be some improvements to make to delta! But I think if you are prepared to set that env var then you can get the behaviour you want now. |
Beta Was this translation helpful? Give feedback.
Hey @osa1, thanks!
I think that you can get what you want by doing something like
export DELTA_PAGER='less -R'
.I am not certain that everything is absolutely perfect regarding the precedence of the various arguments and env vars involved. For example, I personally thought that the following would page, but it did not:
So, there might be some improvements to make to delta! But I think if you are prepared to set that env var then you can get the behaviour you want now.