Tony Mechelynck schrieb:
>> Tony Mechelynck schrieb:
>>> Session loading may scroll up needlessly high
>>>
>>> The cursor line is always scrolled to the top of the window (plus
>>> 'scrolloff'
>>> if set), regardless of whether there are additional lines (and how many of
>>> them) after it.
>>>
>>> Reproducible: Always
>>>
>>> Steps to reproduce:
>>> 1. Edit (or view) a file which is longer than the window size.
>>> 2. G
>>> -- Note that the cursor is at the bottom of the window space. This is
>>> normal.
>>> 3. :mks!
>>> 4. :qa
>>> 5. vim -S
>>>
>>> Actual result:
>>> The cursor line (which is the last line of the file) is now near the top of
>>> the window, with a lot of ~ lines ("lines" after the end of file) below it.
>>>
>>> Expected result:
>>> The bottom line of the file should be at the bottom of the window (as it
>>> was
>>> at step 2), with no ~ lines showing.
> I'm posting my Session.vim, which is not for the minimum testcase, as
> http://users.skynet.be/antoine.mechelynck/vim/Session.vim
>
>
> Best regards,
> Tony.
I can reproduce it with your Session.vim (ah, it enables "rolodex mode")
-- by creating dummy folders and files, changing some options that produced
errors:
guifont, printfont, tabline.
After another :mks! and restart with -S, the problem still persists ...
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---