I find myself dealing with this issue every time the
wrap option is active (in my particular case whenever I'm working with markdown files).
What happens is that, while scrolling up and down the buffer with
k, the wrapped lines of text (visually forming a paragraph) at the far top and far bottom don't scroll smoothly (i.e. one by one) out of screen. Instead, whole paragraphs disappear and reappear abruptly from and into view, making for a disorienting and annoying effect.
I think a GIF will explain better what happens. Here, I'm just pressing
k repeatedly to scroll upwards. Keep an eye on the paragraph near the bottom!
I got used to this behaviour because I didn't think it was fixable, but then I realized that doesn't happen with physical lines and
Is there a way to tell Vim to scroll out of screen by visual lines instead of physical ones?
ps: Yes, I've mapped my