On 07.05.17 03:36, Yubin Ruan wrote:
> Hi,
> Is there a scroll-off option for mutt? In vim, you can use
>     set scrolloff = 7
> to make the editor scroll rather than changing pages when you get to the end 
> of
> the current page, so that you can see things continuously. But for mutt's 
> pager,
> it seems not possible to do so. Anyone know any alternative methods?

AFAICT, there's only menu_scroll, and half_up/half_down (half page)
commands. If you were to bind the latter to a pair of keys, then you'd
almost half have scrolling in the pager.

On the other hand, if one were to set $pager to use vim rather than the
built-in pager, then scrolloff would be gained ... but the ability to delete
the message within the pager would be lost - you'd have to exit first.
Naturally, vim would be invoked read-only, e.g. as "view", for a modicum
of clumsiness protection.

The pager can be set in hooks, e.g. so the external pager is only used
for some folders or senders.

Erik

Reply via email to