Zet - How do I move a tmux window to another session?
How do I move a tmux window to another session?
move-window -s $session_name[:$window_index]
- The name of the session you want to move the window from (for future reference,
$session_name) - The index of the window you want to move (in the session itโs currently in, of course โ weโll call this
$window_index). This is actually optional โ if you omit this, then it defaults to the window in focus in the session youโre pulling the window from.
# Moves from currently-focused window from session named `$session_name`
move-window -s $session_name
For example. Moving the current select window on dev to parked.
- Select window as active window on dev
- Move to parked
:move-window -s dev
#tmux