Fixed tmux color

This commit is contained in:
agryphus 2024-01-08 23:04:38 -05:00
parent 7bb1b1b533
commit b3736e8d7c

View file

@ -1,11 +1,19 @@
# Stop tmux from override terminal colors set -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc" set -ga terminal-overrides ",*256col*:Tc"
# Change tmux prefix # Change tmux prefix
unbind C-b unbind C-b
set-option -g prefix C-a set-option -g prefix C-a
bind-key C-a send-prefix 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' set -g status-style 'bg=#333333 fg=#5eacd3'
# Vim-like visual mode and yanking # Vim-like visual mode and yanking