vim-session icon indicating copy to clipboard operation
vim-session copied to clipboard

Sesson does not promt for load on startup

Open TimothyWrightSoftware opened this issue 11 years ago • 3 comments

I am using the default settings. Windows 7, vim 7.4, and the vim-session plugin from a couple of weeks ago.

Installed with pathogen. If I save a session without a name, it works. If I reload that session, it works. If I save a session, then do more work, then exit, the plugin promts me to save the session before exit.

But when I start up vim the next time, the default session isn't loaded and there is no prompt to load it. If I load the session myself it works fine.

TimothyWrightSoftware avatar Apr 15 '15 13:04 TimothyWrightSoftware

When you start Vim and it doesn't load your session while you expect it to load the session, please run the Vim command :messages. I suspect this will show a message/warning about a session being locked. That message also explains how to resolve the situation. Of course the idea is for that message to be visible when session loading fails on startup, but the message may have disappeared before you got a chance to see it (for a variety of reasons).

xolox avatar Apr 15 '15 16:04 xolox

Thank you for the quick response. I will check it out as soon as I get home.

And thank you so much for the wonderful work.

TimothyWrightSoftware avatar Apr 15 '15 16:04 TimothyWrightSoftware

OK. I checked the :messages on startup. There is nothing there. I tried it a few times. Never got it load without calling :OpenSession.

TimothyWrightSoftware avatar Apr 16 '15 02:04 TimothyWrightSoftware