diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-19 11:17:58 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-19 11:17:58 +0200 |
| commit | b52c54e245a43f5d6d71a5f41fdaba21f87066cf (patch) | |
| tree | 25aaf51bd912b1210c3f7d3e6423b438a5730f7f | |
| parent | 976e2d75dbf1b324d84343ab197c7ef10849edf7 (diff) | |
| download | config-b52c54e245a43f5d6d71a5f41fdaba21f87066cf.tar.gz config-b52c54e245a43f5d6d71a5f41fdaba21f87066cf.zip | |
New tmux bindings
Diffstat (limited to '')
| -rw-r--r-- | .tmux.conf | 23 |
1 files changed, 21 insertions, 2 deletions
| @@ -1,7 +1,26 @@ | |||
| 1 | # Use Ctrl+F as lead key | 1 | # Unbind all keys (except copy-mode) |
| 2 | unbind C-b | 2 | unbind -a -T prefix |
| 3 | unbind -a -T root | ||
| 4 | |||
| 5 | # Custom bindings | ||
| 3 | set -g prefix C-f | 6 | set -g prefix C-f |
| 4 | bind-key -n C-f send-prefix | 7 | bind-key -n C-f send-prefix |
| 8 | bind-key \' split-window -v | ||
| 9 | bind-key \; split-window -h | ||
| 10 | bind-key l select-pane -R | ||
| 11 | bind-key C-l resize-pane -R | ||
| 12 | bind-key h select-pane -L | ||
| 13 | bind-key C-h resize-pane -L | ||
| 14 | bind-key j select-pane -D | ||
| 15 | bind-key C-j resize-pane -D | ||
| 16 | bind-key k select-pane -U | ||
| 17 | bind-key C-k resize-pane -U | ||
| 18 | bind-key [ copy-mode | ||
| 19 | bind-key ] paste-buffer | ||
| 20 | bind-key o new-window | ||
| 21 | bind-key n next-window | ||
| 22 | bind-key p previous-window | ||
| 23 | bind-key i break-pane | ||
| 5 | 24 | ||
| 6 | # Status bar with external command | 25 | # Status bar with external command |
| 7 | set -g status-right-length 120 | 26 | set -g status-right-length 120 |
