From 67c29b1fb60807a609f6c6a4ee15581d00cce5ea Mon Sep 17 00:00:00 2001 From: Martin Sigloch Date: Wed, 13 May 2026 18:39:19 +0000 Subject: [PATCH] setup/tmux.sh: add tmux config with extended-keys, true color, and mouse --- setup/tmux.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup/tmux.sh b/setup/tmux.sh index 534d91e..8fe8764 100755 --- a/setup/tmux.sh +++ b/setup/tmux.sh @@ -1,3 +1,12 @@ #!/usr/bin/env bash set -eu -o pipefail sudo apt-get install -y tmux + +mkdir -p "$HOME/.config/tmux" +cat > "$HOME/.config/tmux/tmux.conf" << 'TMUXCONF' +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",*:Tc" # true color passthrough +set -g mouse on +set -g extended-keys on +set -g extended-keys-format csi-u # Kitty keyboard protocol format +TMUXCONF