These are window keys, not pane keys

This commit is contained in:
David Heinemeier Hansson
2026-02-16 21:52:19 +01:00
parent a33cf4f287
commit 6ff13fc071

View File

@@ -29,16 +29,6 @@ bind -n C-M-S-Down resize-pane -D 5
bind -n C-M-S-Up resize-pane -U 5 bind -n C-M-S-Up resize-pane -U 5
bind -n C-M-S-Right resize-pane -R 5 bind -n C-M-S-Right resize-pane -R 5
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
# Window navigation # Window navigation
bind r command-prompt -I "#W" "rename-window -- '%%'" bind r command-prompt -I "#W" "rename-window -- '%%'"
bind c new-window -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}"
@@ -49,6 +39,16 @@ bind -n C-S-End kill-window
bind -n C-S-PageUp next-window bind -n C-S-PageUp next-window
bind -n C-S-PageDown previous-window bind -n C-S-PageDown previous-window
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
# Session controls # Session controls
bind R command-prompt -I "#S" "rename-session -- '%%'" bind R command-prompt -I "#S" "rename-session -- '%%'"
bind C new-session bind C new-session