On 9/4/06, Jochen Baier <[EMAIL PROTECTED]> wrote:
Hi,
with scrolloff=999 the cursor is in the middle of the
window, but not on the top or end of a file (or small file).
Is it possible to have it always in the middle of the window
? maybe with adding '~' above and below of the text.
At end of file, it is sort of is possible by combining zz and
CursorMoved autoevent:
au CursorMoved * normal zz
set so=0
although there are unpleasant screen redraws sometimes.
Near beginning of file, it is impossible AFAIK. I agree
with you that there are cases when this is desirable.
Yakov