diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 66554fe9..79df1da5 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -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-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 bind r command-prompt -I "#W" "rename-window -- '%%'" 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-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 bind R command-prompt -I "#S" "rename-session -- '%%'" bind C new-session