Loading ...
Sorry, an error occurred while loading the content.

Scroll position after loading a session

Expand Messages
  • Tony Mechelynck
    After loading a session (using e.g. gvim -S ) the cursor line always finds itself scrolloff lines below the top of its window, even if it is the last line
    Message 1 of 1 , Mar 2, 2008
    • 0 Attachment
      After loading a session (using e.g. "gvim -S") the cursor line always
      finds itself 'scrolloff' lines below the top of its window, even if it
      is the last line of the file. Shouldn't the window be scrolled down, so
      that no "tilde" lines be displayed if the file is longer than the window?

      My current session script is at
      http://users.skynet.be/antoine.mechelynck/other/Session.vim -- it is a
      "real" case, not a "minimal" case.


      Best regards,
      Tony.
      --
      FATHER: Who are you?
      PRINCE: I'm ... your son ...
      FATHER: Not you.
      LAUNCELOT: I'm ... er ... Sir Launcelot, sir.
      "Monty Python and the Holy Grail" PYTHON (MONTY)
      PICTURES LTD

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.