tmux: Select windows with Alt-[0-9]

This commit is contained in:
2023-06-15 12:04:23 +02:00
parent b4eba71b16
commit 6a36867d4d

View File

@@ -80,6 +80,18 @@ bind -r C-p prev
bind -r \{ swap-pane -U
bind -r \} swap-pane -D
# Select windows with Alt-[0-9]
bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7
bind -n M-8 select-window -t 8
bind -n M-9 select-window -t 9
bind -n M-0 select-window -t 10
# Vim-bindings
# Enter copy-mode with Escape