Hacker News new | ask | show | jobs
by cryptonector 1504 days ago
I've a much simpler solution. I nest tmux sessions. In the top-level session every window is named the same as the session that is attached in it. I've two different prefix keys: ^T for the top-level, and ^A for the level below. Plus I've a one-liner (well, shell function) for mapping PIDs to session & window. Plus a script to create new nested sessions, and a script start $EDITOR in a window of the current session (with the window named after the file being edited). Plus I've a half-baked script to set up this environment, with one nested tmux per-project.

This allows me to have a very well-organized way of working over ssh.