diff options
| -rw-r--r-- | core/tmux.conf | 7 |
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 | |||
| 16 | set -g pane-border-status top | 16 | set -g pane-border-status top |
| 17 | set -g pane-border-format "#P" | 17 | set -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) |
| 20 | bind-key S command-prompt -p "swap with pane #:" "swap-pane -d -t '%%'" | 20 | bind-key S display-panes { swap-pane -d -t '%%' } |
| 21 | bind-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) | ||
| 23 | set -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 |
| 25 | bind -r H resize-pane -L 1 | 26 | bind -r H resize-pane -L 1 |
