From 74842157ef04fb4e6157a129433fa6466b582be6 Mon Sep 17 00:00:00 2001 From: Steven Proctor Date: Wed, 18 Aug 2021 18:02:59 -0500 Subject: [PATCH] fix tmux for nvim color --- .bash_profile | 2 +- tmux.conf | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.bash_profile b/.bash_profile index e61adde..0994e90 100644 --- a/.bash_profile +++ b/.bash_profile @@ -6,7 +6,7 @@ PATH=$PATH:$HOME MANPATH=$MANPATH:/usr/local/opt/erlang/lib/erlang/man set -o vi -export EDITOR='vim' +export EDITOR='nvim' export CLICOLOR=1 diff --git a/tmux.conf b/tmux.conf index e8fb35c..96d2dea 100644 --- a/tmux.conf +++ b/tmux.conf @@ -31,7 +31,7 @@ bind L resize-pane -R 5 setw -g mouse off -set -g default-terminal "screen-256color" +set -g default-terminal "xterm-256color" set -g history-limit 6000 set -g window-status-style dim @@ -43,3 +43,6 @@ set -g status-right '#(~/dotfiles/bin/tmux_battery_charge_indicator.sh) #[bg=whi set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock + +set-option -sa terminal-overrides ',xterm-256color:RGB' +set-option -g focus-events on