Yes, I used set smoothscroll, but it only works in one direction (down) 
when scrolling via cursor movement. When scrolling up that way, the effect 
is lost. 

Also, using ctl-e/y isn't a substitute for the behavior I'm talking about, 
since once you put your cursor into the "paragraph" (= really long line), 
Vim will jerkily reposition that paragraph so the beginning of it is on the 
screen, which is the behavior I'm trying to avoid. 

One thing I don't understand is why only Vim has this behavior. Emacs, 
VSCode, etc. don't. They're poor substitutes for Vim, so this is a little 
frustrating.

On Tuesday, October 14, 2025 at 1:12:56 AM UTC-5 Christian Brabandt wrote:

>
> On Mo, 13 Okt 2025, Marc Adler wrote:
>
> > (I asked this on the Vim Use list and got recommended to ask here.)
> > 
> > 
> > I use Vim to write text, ie prose with paragraphs.
> > 
> > 
> > Vim interprets a paragraph as a single line, but it's good at displaying 
> line
> > breaks anyway.
> > 
> > 
> > The problem is that it skips up and down by paragraph when you scroll up 
> and
> > down with gj and gk, making the text jerky and difficult to read.
> > 
> > 
> > Smoothscroll fixes this, but only when you're scrolling down.
> > 
> > 
> > Is there a way to make it work when scrolling up?
> > 
> > 
> > Here's an example of what I'm talking about. The first is Vim (Neovim) 
> and the
> > second is VSCode. The VSCode behavior is what you see in every other text
> > editor. 
> > 
> > 
> > Vim:
> > 
> > https://imgur.com/a/u83V2TA
> > 
> > 
> > VSCode:
> > 
> > https://imgur.com/a/8dhcXo1
> > 
> > 
> > Is there a way to fix this? Like I said, this behavior is unique to Vim. 
>
> Did you use `set smoothscroll` together with Ctrl-E/Ctrl-Y ?
>
>
> thanks,
> Christian
> -- 
> My, how you've changed since I've changed.
>

-- 
-- 
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/5a8d235f-e4aa-4cc8-8372-0621d8788ccdn%40googlegroups.com.

Raspunde prin e-mail lui