tmux: fix prefix and shortcut settings (#7549)

adjusting the tmux lines for setting the prefix.
previously the prefix option would be set in the prefix key table, causing it to not register correctly.

- updated tests
This commit is contained in:
robin 2025-08-01 16:53:46 +02:00 committed by GitHub
parent 08cf2543ea
commit 899af4218c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 21 deletions

View file

@ -15,7 +15,7 @@ set -g mode-keys emacs
# rebind main key: C-a
unbind C-b
set -g prefix C-a
bind -N "Send the prefix key through to the application" \
bind -n -N "Send the prefix key through to the application" \
C-a send-prefix

View file

@ -15,9 +15,8 @@ set -g mode-keys emacs
# rebind main key: C-a
unbind C-b
set -g prefix C-a
bind -N "Send the prefix key through to the application" \
a send-prefix
bind C-a last-window
bind -n -N "Send the prefix key through to the application" \
C-a send-prefix