aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2014-05-16 10:01:25 +0200
committerRyan Kavanagh <rak@debian.org>2014-05-16 10:01:25 +0200
commit9b9a4e948b55ad0d3c9e31f27fe0ed10830c234c (patch)
treebc1c7af8487071b866d247caabc26d484bf45789
parentAdd alias for WQXR to zshrc (diff)
Add keybindings for join-pane to tmux
http://unix.stackexchange.com/questions/14300/moving-tmux-window-to-pane/14301#14301
Diffstat (limited to '')
-rw-r--r--.tmux.conf4
1 files changed, 4 insertions, 0 deletions
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 '%%'"