From f76eb28092088264be1ffa30073fe61e615769d4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 10 May 2025 10:49:59 +0200 Subject: updates --- .config/tmux/tmux.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.config/tmux/tmux.conf') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 7311ff3..e0d033e 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -10,10 +10,11 @@ bind-key C-a send-prefix # Allows vim to display colors correctly. set -g default-terminal "${TERM}" set -ga terminal-overrides ',*256col*:Tc' +set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' + # Undercurl set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support -set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 -set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' +set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 # Status line set -g status on @@ -32,13 +33,13 @@ set-option -g window-status-current-format " #[bold bg=#151515] > #{window_index set -s escape-time 0 set -g display-time 1500 set -g status-interval 5 -setw -g aggressive-resize on +set-window-option -g aggressive-resize on set -g status-keys vi set -g history-limit 10000 -setw -g mode-keys vi -setw -g mouse off +set-window-option -g mode-keys vi +set-window-option -g mouse off # split panes bind h split-window -h -- cgit v1.2.3-70-g09d2