From e59cc19522a53171fd677532eb099e9f84ba0f97 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 25 Jun 2020 13:13:49 -0700 Subject: tmux: send/join panes --- lib/tmux | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tmux b/lib/tmux index 01b1440..f0701e5 100644 --- a/lib/tmux +++ b/lib/tmux @@ -17,6 +17,10 @@ setw -g monitor-activity on bind-key | split-window -h bind-key - split-window -v +# Send/join panes +bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'" +bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" + # Use Alt-vim keys without prefix key to switch panes bind -n M-h select-pane -L bind -n M-j select-pane -D -- cgit v1.2.3