-
Notifications
You must be signed in to change notification settings - Fork 43
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
Merge windows from multiple session files into a single session #10
Comments
Thanks. It's always good to hear that others appreciate tmuxomatic. So you want to combine windows from multiple session files. You listed three possible implementations:
Yes on 1. No native support for 2 and 3. Adding these would complicate Flex and the planned session synchronization features. However, once 1 has been implemented, it will be easy to make a wrapper script to support the other two. I'll add the feature in the next couple of versions. I'll leave this issue open until it's added. |
Added in 2.19. When As for the other two features you mentioned, you could make a simple wrapper script to accomplish both.
I'm leaving this issue open until 2.19 has been released to PyPI. Thanks again for your feedback and contributions! |
Thanks! |
Any ETA on the 2.19 release? I'm really looking forward to this feature, too =) |
It's probably going to be a few weeks before it's released. For now you'll have to |
Ok, thanks! |
Definitely a feature request and as this issues section is so clean I feel bad about raising it here. But here goes anyway :)
I have been configuring different sessions for different scenarios and often find myself adding the same windows in multiple sessions. Also I sometimes run multiple sessions when working on more than one thing. However starting multiple sessions (starting new terminals!) and switching sessions is a bit clumsy. So I have a potential solution to both these problems.
It would be nice if when I run tmuxomatic from inside a session it just added the windows from the session file to the current session. I imagine it would make sense if it only added windows that did not already exist (keyed by name).
To be honest I'm new to tmux and tmuxomatic (which I think is awesome, thanks!) and I may eventually figure out how this can be done. But if you can think of a quick way to do this that would be cool :)
As a bonus feature it might be cool if you could start tmuxomatic with multiple session files and it similarly merged the window lists :)
As the final icing on the cake perhaps an include directive could be added so that session files could include other session files with similar merged results.
I had some other ideas about namespacing window names instead of ignoring duplicates but that may be overkill for now and can be implemented in my session files if i want.
The text was updated successfully, but these errors were encountered: