I know that it's possible in tmux to join a window as a pane, but is it possible to move a pane to it's own window (tab)? I tried searching it up the man page but couldn't find it. I guess it is possible doing it through a shell script, but is there some other, more elegant way?
Relevant tmux Commands
You could add the following bindings to your
## Join windows: <prefix> s, <prefix> j bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'" bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
The above can move panes between existing windows.
For breaking a pane to a new window, use
break-pane (which can also be bound).
All three commands can be used from the tmux's prompt like:
Or at the shell's prompt (inside tmux) with: