On Di, 21 Okt 2025, Marc Adler wrote:
> Imgur appears to be down so I've uploaded the video to one of my unused > websites. > > https://www.texasmidnight.com > > At the very beginning I do :echo winheight(0) winwidth(0) at the bottom so > you can see the size. > > Then I "scroll" up and down using j and k (which I've remapped to gj and gk) > just to show how the display jumps between paragraphs. > > Then I use ctl-e/y to scroll that way. Then you can see my cursor (the one > operated by my mouse) move to a paragraph at the top which is only partly > displayed. When I click in > there in order to move the Vim cursor into that position, the display jumps > again to display the whole paragraph. > > This behavior is being caused by Vim's desire to bring the beginning of any > line where the cursor is into the display window. > > Let me know if you have any questions. There was a reason I asked for a reproducible example starting with vim --clean I find it hard to follow what exactly you did, but it does not seem to be related (directly) to smooth scrolling but rather to using the mouse to position the cursor? Thanks, Christian -- There is no hunting like the hunting of man, and those who have hunted armed men long enough and liked it, never care for anything else thereafter. -- Ernest Hemingway -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/aP6GJNbvCS/idmHj%40256bit.org.
