summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/tmux.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/tmux.conf b/core/tmux.conf
index cc69bb5..0093aaa 100644
--- a/core/tmux.conf
+++ b/core/tmux.conf
@@ -16,10 +16,11 @@ set -g history-limit 10000
16set -g pane-border-status top 16set -g pane-border-status top
17set -g pane-border-format "#P" 17set -g pane-border-format "#P"
18 18
19# Explicitly swap current pane with a pane index you type in 19# Swap current pane with pane N: prefix S then N (same number overlay as prefix q)
20bind-key S command-prompt -p "swap with pane #:" "swap-pane -d -t '%%'" 20bind-key S display-panes { swap-pane -d -t '%%' }
21bind-key P command-prompt -p "go to pane #:" "select-pane -t '%%'"
22# Manual: :swap-pane -s <src> -t <dst> 21# Manual: :swap-pane -s <src> -t <dst>
22# Go to pane N: prefix q then N (numbers stay up 3 s; pressing the digit ends it early)
23set -g display-panes-time 3000
23 24
24# Vim-style pane resizing (prefix + H/J/K/L), magnitude 1 25# Vim-style pane resizing (prefix + H/J/K/L), magnitude 1
25bind -r H resize-pane -L 1 26bind -r H resize-pane -L 1