Replies: 1 comment
|
the behavior is as you describe. default-off is the right shape and it's how this sort of thing ships here, so no objection on form. What I'd want before wiring it is where it actually bites. You mention reading files and plans, which is the I'm answering this together with #311, which asks for two lines of overlap on page scroll. Different setting, same family: a configurable count of vertical context rows in the same viewport code. My reply there is #311 (comment). If both go in they get one shape between them, not two knobs arguing over where the cursor sits. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Add a configurable vertical scroll margin — the number of lines kept between the cursor and the top/bottom edge before the pane scrolls. Same idea as vim's
scrolloffor Zed'svertical_scroll_margin, exposed as a scroll-off config option (with a matching--scroll-offflag), defaulting to0so current behavior is unchanged.A fixed margin of ten or fifteen lines makes reading files/plans easier.
All reactions