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
Originally posted by rbhanot4739 October 18, 2024
Hello,
Thank you for writing this amazing plugin. I have the following query
Let's say I create a session for branch A for repo in cwd.
Switch to git branch B from the terminal, open Nvim again, and create/save a session.
Now switch again to branch A from terminal and open nvim, the correct session (for branch A) is restored.
Quit and reopen Nvim and select session for branch B for the same cwd using session lens and then quit nvim.
Open nvim and the session for the current branch A is overridden with branch B.
While I understand this is the expected behaviour because when I load session for branch B and then quit nvim the session for cwd is replaced with session for branch B, is there any way I can keep the sessions for different branches isolated even if I open these sessions within neovim similar to how sessions for different cwds are handled.
The text was updated successfully, but these errors were encountered:
Discussed in #388
Originally posted by rbhanot4739 October 18, 2024
Hello,
Thank you for writing this amazing plugin. I have the following query
While I understand this is the expected behaviour because when I load session for branch B and then quit nvim the session for cwd is replaced with session for branch B, is there any way I can keep the sessions for different branches isolated even if I open these sessions within neovim similar to how sessions for different cwds are handled.
The text was updated successfully, but these errors were encountered: