-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto_save only if there is an open session. #90
Comments
Any thoughts??? |
It's the exactly same thought I have when the very first time when I saw the prompt. |
this would be a very good feature 👍 |
Currently I'm having the same problem... I really wish there could be some option to disable auto_save only when there was no active session. |
Looking on the source code, it looks like this is partially the current behaviour. The Anyway, I guess this behaviour could be better documented. |
I will be adding my own fix to this branch here https://github.com/dylan-chong/vim-session/commits/session_autosave_only_with_explicit_session |
Currently, even if there is no session open, either default session is saved or user is prompted (depending of auto_save = 'yes' or 'prompt'). Is it possible to ignore auto_save if there is no open session?
Use Case:
If user goes to a directory and opens a file just to read it, then there is no need to save the session. If user intends to maintain a session for a particular directory (e.g. directory contains a project user is working on) then he can 'SaveSession' once and then auto_save will kick in on every subsequent exit.
The text was updated successfully, but these errors were encountered: