Re: [vim/vim] patch 9.2.0356: Cannot apply 'scrolloff' context lines at end of file (a414630)

4 views
Skip to first unread message

zeertzjq

unread,
Apr 20, 2026, 7:32:35 PM (20 hours ago) Apr 20
to vim/vim, Subscribed

This description is misleading. 'scrolloffpad' doesn't always keep exactly 'scrolloff' context. It keeps the cursor at the center of the window. If 'scrolloff' is smaller than half the window height, it keeps more context than 'scrolloff'.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/commit/a414630393f81c9a5b8fa4d0fcc1287155f67751/182980733@github.com>

zeertzjq

unread,
Apr 20, 2026, 7:34:18 PM (20 hours ago) Apr 20
to vim/vim, Subscribed

The "keep 'scrolloff' context at end of file" description is misleading. 'scrolloffpad' doesn't always keep exactly 'scrolloff' context. It keeps the cursor at the center of the window. If 'scrolloff' is smaller than half the window height, it keeps more context than 'scrolloff'.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/commit/a414630393f81c9a5b8fa4d0fcc1287155f67751/182980835@github.com>

Christian Brabandt

unread,
7:36 AM (8 hours ago) 7:36 AM
to vim/vim, Subscribed

so what would be a better precise description?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/commit/a414630393f81c9a5b8fa4d0fcc1287155f67751/183025316@github.com>

zeertzjq

unread,
7:39 AM (8 hours ago) 7:39 AM
to vim/vim, Subscribed

"vertically center cursor at end of file"


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/commit/a414630393f81c9a5b8fa4d0fcc1287155f67751/183025577@github.com>

Reply all
Reply to author
Forward
0 new messages