Skip to content
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

[Question] Create new sessions/windows/layouts using a file - supported? #498

Open
diego898 opened this issue Jan 22, 2024 · 0 comments
Open

Comments

@diego898
Copy link

I was looking at tmuxinator/tmuxp solely to try and create a session (group of windows and panes) out of a file easily.

Use case:
I use git worktrees, so I may have 5 different repos open across windows, all in a ticket-123 subdirectory (the branch). When another ticket comes in that will also require these 5 diferrent repos, I want a new session that looks exactly like this one - except each window/pane will be in a different subdir.

That got me thinking, can I create a new session as a copy of the current one using ressurect? It saves to a file, so should be very straight forward. The format isnt easy to guess from just reading the file, but I'm sure reading the docs would quickly give me what I need.

My question is: Is this use-case designed/supported? Can I just copy the file last is pointing to, edit it and make new sessions that way? Any unexpected things I'm not considering doing it this way? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant