-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Feature Request] Seperate AutoSave and AutoCreate #59
Comments
Hey, thanks for the subimssion! There's an ongoing PR for adding an Now as for the feature request itself:
I'm not sure I follow what you mean, running a Maybe I'm misunderstanding what you'd like to get from the proposed feature, would you mind sharing some more about your config and the behaviour you're expecting overall? |
I was afraid that I would not be able to convey what I mean first try. :-D So here, is what I currently have:
Now to what I would like to see:
In other words, I'd like auto-session to continue updating existing sessions but it should never create a session for a directory by itself similar to
just that I want this to be the default. So one simple rules (I guess)
Reason for this request (maybe that explains it better): I do use a rooter plugin to change |
Ah I see, I think this PR that was just merged will help with that. I'll give this some more thought as well to see if there's anything else that could be done 😄 |
The merged PR will solve my problem although in a less flexible way. If I ever want to add a new session I will have to change auto-session configuration. In the solution I proposed it would have been sufficient to just call I'll see if I can come up with a PR next week unless you are quicker. ;-) |
Right I do see your point there. It'd be nice to have a way to break these down as long as the current behaviour is still the default one. Yeah if you can get to it before I can that'd be lovely, thanks for the help 😊 |
Thanks @rmagatti for this very nive plugin. This is exactly the behavior that I wanted to setup but it took me some time to realize that the option |
@ivanddm, oh I hadn't realized this was undocumented, thanks for pointing it out! I'd greatly appreciate it if you could send me a PR for an updated readme! 😊 |
Sure, will do so ASAP @rmagatti. Thanks again! |
I would like to see the possibility to separate auto-saving of sessions from auto-creation of sessions. What I mean is that an existing session (created e.g. manually with
:SaveSession
) will be saved onVimLeave
as of now but it will not create a new session if there is none already.Currently one can only specify
auto_session_suppress_dirs
but that is of course unfeasable if one only wants to create and track a few explicit sessions.Alternatively (but of course less flexible) would be to provide
auto_session_include_dirs
as an inverse toauto_session_suppress_dirs
.The text was updated successfully, but these errors were encountered: