Overlap 2 lines on full page scroll (page up/page down) #311
Replies: 2 comments 3 replies
|
the behavior you describe is real, before I take it though, I need a case that isn't editor parity. The emacs/vim citation doesn't move me on its own, and you note yourself that the reason emacs overlaps is that revdiff doesn't lose that anchor. so what I'm after is the concrete friction. Where did the missing seam actually cost you something? Reading a hunk that straddles a page edge and losing the thread would be a real case, and that would change my read. related: #278 asks for a configurable scroll-off, same family of setting. If this goes in it'll be shaped together with that one, and off by default. |
|
that second note is the answer, I think. half page in less is so the seam you look for at the top is already there, on the key you are already pressing in less. that also covers the double-press worry: half-page scroll makes an accidental extra press obvious, because a doubled if what you want is specifically a full page plus a two-line seam, that is a different request from the one your less habit describes, and worth saying so explicitly. Otherwise I would rather not add a config knob for something already bound. |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce:
Expected: 2 lines overlap from the last screen
Actual: full page scroll, no overlap.
Note: not all editors overlap:
All reactions