-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 Don't always page with --navigate option. #234
Comments
Well, it doesn't always page the output; you can control this behavior with the options for
E/ or (which means the same as above)
|
It doesn't work for me.
|
Whoops sorry... I overlooked you were referring to |
Thanks @kevinhwang91 and @Kr1ss-XD, I noticed this also and was disappointed by it. I think that this is a problem with But see e.g. see https://superuser.com/questions/951405/less-with-f-option-and-pattern-matching, or experiment with piping input to So, the question is -- can anyone come up with a |
@dandavison not sure if you can use that, but
does exit from less if E/ but it skips the text before the first occurence of |
It seems that I shouldn't use --navigate option until this issue was solved. Honestly, I hate to fill the screen after invoking delta. @dandavison You can close this issue if you want. |
#237 has discussed this issue. |
This thread helped me realize what was wrong in my config, and causing Thanks for the discussion, everybody. EDIT one more tweak: keep preserving my status bar with percentage (
|
@kevinhwang91 I don't have a proper solution yet but one nice thing is that we can easily toggle navigate on/off like this: git config --global delta.navigate true I'm finding that makes it fairly convenient to activate when appropriate (e.g. for |
The latest release of delta allows
This is motivated by the fact that leaving |
In addition to the
This requires delta 0.6.0. |
When the output of
![image](https://user-images.githubusercontent.com/17562139/86504666-feec0180-bded-11ea-8dd4-455b59c5b2d8.png)
git diff
is shorter than the screen lines, delta always pages the output.The text was updated successfully, but these errors were encountered: