From 9b9a4e948b55ad0d3c9e31f27fe0ed10830c234c Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 16 May 2014 10:01:25 +0200 Subject: Add keybindings for join-pane to tmux http://unix.stackexchange.com/questions/14300/moving-tmux-window-to-pane/14301#14301 --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index e712f96..c67d9a8 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -59,3 +59,7 @@ set -g default-terminal "screen-256color" bind C-y save-buffer ~/.tmux-buffer \; run "xsel -i -b <~/.tmux-buffer && rm ~/.tmux-buffer" bind C new-session + +# pane movement +bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'" +bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" -- cgit v1.2.3