ci_edit
ci_edit copied to clipboard
Page down/up scroll length
I was thinking that it is really weird if we actually scroll down/up by one entire page. I never thought about it but it comforts me and I know where I am in the document when I am able to see some parts of the previous page. Perhaps we could make page down/up scroll by 0.8 * numRows
or 0.9? Though, this may just be me and I'm not sure if anyone else experiences this. Any thoughts?
I'd like to keep the default at a full page (1.0), but I'm okay with having a pref option to scroll by a different amount (0.8).
Though would you prefer to do N lines rather than a percentage? i.e. overlap by 1 line (or 2). I'd like to keep the default at 0 if we overlap lines. Maybe a pref like "line_overlap_on_page_scroll": 0,
.
Oh yeah that sounds good. The only time I found this to be an issue was when I was writing code and neared the bottom of the screen. I wanted to be able to see below my current line and above my current line to keep my sense of position in the file document. I had to scroll down (which also brings another issue to mind, maybe we should be able to scroll up to 1 screen past the end of the last line of the document?), fix my cursor position, and then resume typing. I think something like setting the current cursor position to be at the optimalCursorPosition
is something closer to what I'm looking for, rather than an adjustment to page down.
I don't know if this will help, but fyi, sometimes when I want to adjust the scroll position to move just few lines I'll use ctrl+up/ctrl+down. Those scroll by one line without moving the cursor position.