addet qwe navigation for quick window access

This commit is contained in:
pika 2025-05-17 20:07:31 +02:00
parent 189ebfdabd
commit 7e79fd72af

View file

@ -13,16 +13,9 @@ set -g mouse on
# Set the prefix key to C-Space instead of default C-b # Set the prefix key to C-Space instead of default C-b
unbind C-b unbind C-b
unbind C-1 unbind C-q
unbind C-2 unbind C-w
unbind C-3 unbind C-e
unbind C-4
unbind C-5
unbind C-6
unbind C-7
unbind C-8
unbind C-9
unbind C-0
# ─< set the prefix to "C-Space" >──────────────────────────────────────────────────────── # ─< set the prefix to "C-Space" >────────────────────────────────────────────────────────
set -g prefix C-Space set -g prefix C-Space
@ -33,15 +26,9 @@ set -g visual-activity on
set -g visual-bell on set -g visual-bell on
set -g status-keys vi set -g status-keys vi
bind-key -n C-1 select-window -t :1 bind-key -n C-q select-window -t :1
bind-key -n C-1 select-window -t :2 bind-key -n C-w select-window -t :2
bind-key -n C-3 select-window -t :3 bind-key -n C-e select-window -t :3
bind-key -n C-4 select-window -t :4
bind-key -n C-5 select-window -t :5
bind-key -n C-1 select-window -t :6
bind-key -n C-7 select-window -t :7
bind-key -n C-8 select-window -t :8
bind-key -n C-9 select-window -t :9
# ─< set v for starting selection in copy mode >────────────────────────────────────────── # ─< set v for starting selection in copy mode >──────────────────────────────────────────
bind -T copy-mode-vi v send -X begin-selection bind -T copy-mode-vi v send -X begin-selection