Merge remote-tracking branch 'origin/github/pr/138'
authorMichael Prokop <mika@grml.org>
Fri, 25 Mar 2022 15:02:13 +0000 (16:02 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 25 Mar 2022 15:02:13 +0000 (16:02 +0100)
etc/tmux.conf

index 57e866c..ea20b33 100644 (file)
@@ -22,6 +22,10 @@ bind-key '\' confirm-before kill-session
 ### join the last active pane to the currently active window
 bind-key j join-pane -s !
 
+### join the marked pane to the currently active window
+### ('bind-key m select-pane -m' is default to mark the current pane)
+bind-key J join-pane
+
 ### Move current window to session named "bg" (and create session if it does not exist)
 bind-key B if-shell "! tmux has-session -t bg" "new-session -d -s bg" \; move-window -t bg