adjust tmux config

This commit is contained in:
Yan Lin 2026-02-01 07:16:13 +01:00
parent a3d8ca54b1
commit 7daf3c2164

View file

@ -127,6 +127,12 @@ in
# Automatically renumber windows # Automatically renumber windows
set -g renumber-windows on set -g renumber-windows on
# Switch to another session instead of detaching when current session is destroyed
set -g detach-on-destroy off
# Kill pane without confirmation
bind-key x kill-pane
# Quick window movement # Quick window movement
bind-key -n C-S-Left swap-window -t -1\; select-window -t -1 bind-key -n C-S-Left swap-window -t -1\; select-window -t -1
bind-key -n C-S-Right swap-window -t +1\; select-window -t +1 bind-key -n C-S-Right swap-window -t +1\; select-window -t +1