-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Less is broken in Linux #35
Conversation
I remember what that does. This is not a bug; it's a preference. It prevents I will not merge this. |
Fair enough. On balance, though, I would not have thought this was the expected behaviour. I do hope you're rejecting this because you believe most people want this behaviour, and not because this is the behaviour you want. If your fork becomes OMZ 2, it'll have to cater to the majority out of the box. Just my opinion; take it or leave it. I really appreciate all the work you've put into this already. |
An overridden (and commented) version of $LESS without -X could be added to the zshrc template with a comment above to explain the issue. This way, mac users will just ignore it, and linux users will be able to fix the -X issue easily. |
It's not Mac vs Linux. I have read a lot of blog posts and dot files when I wrote those less options. Some prefer |
OK, I respect your opinion Sorin. If you think more people will want less to have I do think another |
What I meant to say isn't the mac/linux thing, I just presented it that way because the title of the issue is "Less broken in Linux" (I shouldn't have said it like that), it was more "A comment explaining to the users how the default -X could create a strange behaviour and how could it be fixed easily". |
I disagree on the zstyle. Less has too many switches. |
Hmm; yes less has plenty of switches, but I see this as a serious issue that at least deserves a configuration option for two reasons:
On the other hand, if If you're dead-set of having |
While the '-X' switch allows the user to quit less with the relevant portion of a man page still visible, it breaks mouse scrolling.
Fix for Issue sorin-ionescu#35 "Unclosed brackets not marked as error"
Created simple install sh script
While the '-X' switch allows the user to quit less with the relevant portion of a man page still visible, it breaks mouse scrolling.
While the '-X' switch allows the user to quit less with the relevant portion of a man page still visible, it breaks mouse scrolling.
The
-X
option breaks mouse wheel scrolling for me in ArchLinux. It doesn't look like it does anything particularly useful; maybe BSD less is different?