Closed pengux closed 9 years ago
You mean the entire session into another session? tmass already has that (kinda) just go inside active session in tmux, and call tmass load. its load inside that session. I also have plan to polish the command line to allow for specify the target session too. But if you want to load a part of a session (some window from a session) I don't think there is a good way for that
hmm, that is another issue. I wouldn't want tmass to mess with my current session by renaming it. Here is how I wish it would work:
tmass load => yes, load in the current session, but don't rename it tmass new => create a new session (or attach to it if it is already created) no need to use forcenew
I have another idea. I want to remove the --forcenew flag and add --into=session option. Also I need to force tmux to run inside tmux (with unseting the TMUX env variable) to create a new session in othe session.
Do you really need to run session inside session? Is it possible to just create the windows and panes in the same session instead?
Currently, it is like that you said. just attach to a session, try to load a session. then new windows are created in current session.
I've been using tmuxinator and also created the same issue there (https://github.com/tmuxinator/tmuxinator/issues/265). The rationale is that sometimes you just want to open a new window with your panes layout instead of a whole new session.