Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support freezing & loading windows #566

Copy link
Copy link
@dufferzafar

Description

@dufferzafar
Issue body actions

Currently, tmuxp operates at session level. So it takes in a session name, dumps it to a file and can then be used to load from that. I propose that we should also support saving and loading of individual windows.

I needed this today and for now, I froze the current session, edited the file manually to remove info of all other windows, then loaded the session, and moved the window to my current session.

The API would be something like:

tmuxp freeze -w [window_name] file_name

tmuxp load -w file_name

I looked at the code and this doesn't seem hard to do. If I ever need this again, I'll be up to making the relevant changes.

https://github.com/tmux-python/tmuxp/blob/master/tmuxp/workspacebuilder.py#L353

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-featurePossible interesting new feature to be considered for implementation.Possible interesting new feature to be considered for implementation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.