On Tuesday, October 28, 2025 at 5:39:29 PM UTC-5 Nick Jensen wrote:



With a bit of testing I think the options you are looking for are: 

set nostartofline breakindent smoothscroll 


I tried it, but it didn't work. The problem isn't that Vim is putting my 
cursor at the beginning of the line. It doesn't. If I gk up into a 
paragraph that is only partially displayed, the cursor is where I expect it 
(somewhere on the bottom line of that paragraph) but the rest of the 
paragraph is displayed. 

Interestingly, smoothscroll works (when using gj and gk to "scroll") when 
scrolling down but not up. 
 

The answer is that vim has evolved from ed and ex which are line editors. 
The other editors you've mentioned do not have the line editor history. 


Interesting. So does that mean that this behavior is too deep inside Vim to 
change? 

Marc 

-- 
-- 
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/5818283a-8aab-4083-a005-fe937310bf2bn%40googlegroups.com.

Raspunde prin e-mail lui