summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tmux4
1 files changed, 4 insertions, 0 deletions
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