Wednesday, October 11, 2017

Re: scrolloff side effects are bothersome

On 10/11/17 um 04:58 Ben Fritz wrote:
> On Tuesday, October 10, 2017 at 1:57:38 PM UTC-5, Eli the Bearded wrote:
>> I've long used scrolloff intermittantly, but recently I tried adding it
>> to my vimrc. I'm finding myself unhappy now.
...
>> What I would *expect* and what I would like is if H and L movements were
>> not affected by scrolloff, and yanks, deletes, etc worked again to top
>> and bottom of the screen. And if actually moving to top or bottom with a
>> bare H or L, I'd expect the cursor to move, *and* the screen to scroll
>> according to scrolloff.
>>
>> Doesn't this bother other people? Or does no one use scrolloff?
>>
>> Elijah
>
> It doesn't bother me, but I never use H/M/L commands with an operation. I only ever use them for imprecise "big jump" navigation. If I did, it would probably bother me.
>

Well, that really is important to know! Else I'd unknowingly ignore
lines if I'd 'yL'. And I'd expect the same behavior as Elija. The
'first', 'middle', and 'last' line should keep their meaning according
to the real screen, and only 'moving the pointer' should scroll AFTER
the move into the screen.

Stucki

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: