From 74da766614ddf5843dc384d9e610772c611c9428 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Fri, 20 Nov 2020 17:35:16 +0800 Subject: [PATCH] tmux: add pane swap --- tmux/.tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 2f3dbae..f78d623 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -71,6 +71,10 @@ bind-key -r L resize-pane -R 5 # bind -n M-Up select-pane -U # bind -n M-Down select-pane -D +# pane navigation +bind > swap-pane -D +bind < swap-pane -U + # split panes using | and - or shift \ and shift - bind-key "\\" split-window -h -c "#{pane_current_path}" bind-key "\|" split-window -h -c "#{pane_current_path}"