From fd5b117dddee2486dc30aa0c34c12363465cd4e6 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sun, 13 Oct 2024 13:35:15 +0200 Subject: [PATCH] Changed to tmux-256color --- bashrc | 2 +- tmux.conf | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index f92ef19..a898cdf 100644 --- a/bashrc +++ b/bashrc @@ -60,7 +60,7 @@ eval "$(starship init bash)" [[ ! ${BLE_VERSION-} ]] || ble-attach # TMUX -if [[ ! $TERM =~ screen ]]; then +if [[ ! $TERM =~ tmux ]]; then if which tmux >/dev/null 2>&1; then tmux new-session fi diff --git a/tmux.conf b/tmux.conf index 7a6af44..735e5fd 100644 --- a/tmux.conf +++ b/tmux.conf @@ -39,11 +39,13 @@ bind % split-window -h -c "#{pane_current_path}" bind -n C-g display-popup -E "lazygit" set-option -g status-position bottom -set-option -g default-terminal "screen-256color" +set-option -g default-terminal "tmux-256color" set-option -sa terminal-features ',xterm-256color:RGB' set-option -sg escape-time 1 set-option -g focus-events on +# set -g allow-passthrough on +set -g extended-keys on set -g status-interval 2 set -g status-bg "#0c0c0c" set -g status-fg "#6c6c6c"