Change session when branch changes #70
GuillaumeLagrange
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I think this would be a great idea and I'd be totally open to the idea. I'm not sure how much of this feature would reside within the plugin though. Assuming you execute a Lua function to switch branches, you could call I've tried to keep this plugin as simple as possible so generally not keen on any user dialogs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
First of all, thank you for this very efficient plugin.
My workflow includes this plugin with this config
It works almost perfectly, with the small inconvenience that when I check out a new branch, the "currently opened session" is still the session of the old branch.
I have looked into the source code and started thinking about how I would implement session changing (either automatically or by proposing it to the user with a dialog), and have a few ideas. I was looking for a small PR to start honing my lua skills and I think this is it.
I am making this post to make sure the feature is something that looks reasonable to other people than myself 😅
We could also include a config option to enable this feature and have it disabled by default.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions