---
title: "tmux join-pane"
description: "https://youtu.be/Vm5rRtcVXLw"
date: 2021-07-27
published: true
tags:
  - cli
  - linux
  - tmux
template: blog-post
---


[https://youtu.be/Vm5rRtcVXLw](https://youtu.be/Vm5rRtcVXLw){.youtube-embed}

Join-pane allows you to join panes that you have broken away from your window,
or created in a different window to the window you want it in.  As far as I
know there is not a default keybinding for it.

Before you can join a pane you must first have a pane marked to join.  Once you
mark a pane, go back to the window you want to join it to and join-pane.

My keybindings, you must add this to your `~/.tmux.conf` file to use them.

``` python
# Mark and swap panes
#――――――――――――――――――――――――――――――――――――――――――――
bind -n M-m select-pane -m # mark
bind -n M-M select-pane -M # unmark

bind -n M-< join-pane
```

<a href="/tmux-nav-2021/" class="wikilink" data-title="How I navigate tmux in 2021" data-description="change_speed = (speed) =&gt; [...document.querySelectorAll(&#39;video&#39;)].map(v =&gt; v.playbackRate=v.playbackRate+speed)" data-date="2021-05-11">How I navigate tmux in 2021</a>

> for more information on how I navigate tmux, check out this full post

Also check out the full YouTube
[tmux-playlist](https://www.youtube.com/playlist?list=PLTRNG6WIHETB4reAxbWza3CZeP9KL6Bkr)
to see all of the videos in this series.
