tmux move-window

This commit is contained in:
Henrik Bakken
2025-05-13 10:42:30 +02:00
parent 0448ef648f
commit 82cb9ee5da
+12
View File
@@ -140,6 +140,18 @@ bind 8 join-pane -t :8 -h
bind 9 join-pane -t :9 -h
bind 0 join-pane -t :10 -h
# move windows
bind F1 move-window -t :1
bind F2 move-window -t :2
bind F3 move-window -t :3
bind F4 move-window -t :4
bind F5 move-window -t :5
bind F6 move-window -t :6
bind F7 move-window -t :7
bind F8 move-window -t :8
bind F9 move-window -t :9
bind F10 move-window -t :10
# Switch windows alt+number
bind -n M-1 if-shell 'tmux select-window -t :1' '' 'new-window -t :1'
bind -n M-2 if-shell 'tmux select-window -t :2' '' 'new-window -t :2'