Skip to content

[brainstorm] open new pane in remote session #46

@danneu

Description

@danneu

When sshed into a box in one pane, you often want to open another pane that's sshed into the same box.

It would be nice if there were a way to do that.

For example, cmd-d currently opens a new pane, but cmd-shift-d could open a new pane + reruns the remote-session command from the remote-pane you hotkeyed from.

It's not very safe, but the user is opting in to it. Since danterm just assumes that if 'ssh' was used, then it must be a remote session, but ssh commands can be arbitrarily destructive. So I'm not sure about this one.

Another idea is that cmd-shift-d is just "open-remote-pane", and it spawns a popup where you manage/select remote session commands to choose from, like ssh dan@nas. The most recent one is always selected, so you'd press cmd-shift-d to open a second pane sshed into the same machine.

In fact, maybe that could be generalized to a new-pane popup that just opens a list of command strings to choose from like ssh dan@nas or claude -p "tell me a joke". Now it's simple instead of being remote-session specific at all, and I could try the UX out and refine it from there instead of guessing at what might be best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions