From b3736e8d7cf7d26bf154bfe9db0acb96f846a119 Mon Sep 17 00:00:00 2001 From: agryphus Date: Mon, 8 Jan 2024 23:04:38 -0500 Subject: [PATCH] Fixed tmux color --- .config/tmux/tmux.conf | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index d87e325..72ec9c1 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,11 +1,19 @@ -# Stop tmux from override terminal colors -set-option -ga terminal-overrides ",xterm-256color:Tc" +set -g default-terminal "tmux-256color" +set -ga terminal-overrides ",*256col*:Tc" # Change tmux prefix unbind C-b set-option -g prefix C-a bind-key C-a send-prefix +set -g mouse on +#set -g mouse-resize-pane on +#set -g mouse-select-pane on +#set -g mouse-select-window on +# For newer versions of tmux: +set -g mouse on +bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; #send-keys -M'" +bind -n WheelDownPane select-pane -t= \; send-keys -M set -g status-style 'bg=#333333 fg=#5eacd3' # Vim-like visual mode and yanking