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

saving session #9

Open
ghost opened this issue Sep 11, 2012 · 3 comments
Open

saving session #9

ghost opened this issue Sep 11, 2012 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 11, 2012

Is there a way to save the current state of a session?

@leesei
Copy link
Contributor

leesei commented Jun 16, 2015

I guess we can generate the layout by by parsing tmux's status:

tmux ls # to list sessions
tmux list-windows -t <session> # to list windows and layouts

But I don't think we can reliably generate session_root and run_cmd.

@jimeh
Copy link
Owner

jimeh commented Jun 16, 2015

@leesei Indeed, I haven't really spent any time on it as it's a bit complicated, and ideally I'd like to output the resulting Tmuxifier layout in a humanly editable format. But at the same time there would probably need to be a separation between manually created and saved sessions, as saved ones would obviously lack the ability of running commands as part of setting up the layout.

@leesei
Copy link
Contributor

leesei commented Jun 16, 2015

I think we can include a script in the package or wiki to help user generate a session template in Tmuxifier layout format.
It is expected for the user to customize and review the layout before moving it to the layout folder.

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

2 participants