From 1c88d55512db4c48a32d47abc629e07b09082902 Mon Sep 17 00:00:00 2001 From: Bastian Gruber Date: Wed, 28 Jan 2026 18:02:15 +0000 Subject: [PATCH] tmux: change prefix to C-s, add C-n/C-p window nav --- dot_config/tmux/tmux.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dot_config/tmux/tmux.conf b/dot_config/tmux/tmux.conf index cc31573..32b588a 100644 --- a/dot_config/tmux/tmux.conf +++ b/dot_config/tmux/tmux.conf @@ -5,10 +5,10 @@ # General Settings # ───────────────────────────────────────────────────────────── -# Change prefix from C-b to C-a (easier to reach) +# Change prefix from C-b to C-s unbind C-b -set -g prefix C-a -bind C-a send-prefix +set -g prefix C-s +bind C-s send-prefix # Enable true color support set -g default-terminal "tmux-256color" @@ -62,13 +62,18 @@ bind -r L resize-pane -R 5 # New window in current path bind c new-window -c "#{pane_current_path}" -# Quick window switching +# Quick window switching (no prefix needed) +bind -n C-n next-window +bind -n C-p 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 +# Close window +bind x confirm-before -p "Kill window #W? (y/n)" kill-window + # ───────────────────────────────────────────────────────────── # Catppuccin Macchiato Colors # ─────────────────────────────────────────────────────────────