You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, first of all thanks for your work on this plugin!
I was wondering if it is possible to have sessions based on the CWD be updated regardless of a "named session" being loaded.
As an example, I was thinking of the following use case:
open nvim
load a session "my_project" that (among other things) sets the CWD to ~/my/project/
add windows, buffers, etc. while working normally
close nvim -> here the cwd session whould be updated automatically
After this there would be two possibilities to continue working:
open nvim in ~/my/project/
load the cwd session for ~/my/project/
continue working from the exact same state as above
open nvim
load the "my_project" session
continue working form a "clean" starting session
I know that the docs for autosave.cwd say that "Automatically save session based on current (global) working directory if no session has been loaded yet", but is it possible to bypass that caveat somehow in the config? Otherwise, is this something you would consider implementing?
The text was updated successfully, but these errors were encountered:
Hi, sorry for late response. This is not possible currently. I've quickly hacked some solution here: #77. I didn't really test it, but you can give it a try, hopefully it works. And if not, maybe someone will have a starting point for a proper solution. The final solution would have to consider possible edge-cases, as the autosave/load functionality got quite complicated.
Hello, first of all thanks for your work on this plugin!
I was wondering if it is possible to have sessions based on the CWD be updated regardless of a "named session" being loaded.
As an example, I was thinking of the following use case:
~/my/project/
After this there would be two possibilities to continue working:
~/my/project/
~/my/project/
I know that the docs for
autosave.cwd
say that "Automatically save session based on current (global) working directoryif no session has been loaded yet", but is it possible to bypass that caveat somehow in the config? Otherwise, is this something you would consider implementing?
The text was updated successfully, but these errors were encountered: