From cbe9b431bc1cbaa03578748b25339082fa1253b0 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Thu, 18 Feb 2021 21:14:16 +0100 Subject: Fixed vim + tmux color issue --- .config/tmux/.tmux.conf | 3 +++ .config/zsh/exports.zsh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/tmux/.tmux.conf b/.config/tmux/.tmux.conf index 1c3bf2d..b2635b5 100644 --- a/.config/tmux/.tmux.conf +++ b/.config/tmux/.tmux.conf @@ -1,6 +1,8 @@ # show session, window, pane in left status bar set -g @plugin 'tmux-plugins/tpm' set -g @plugin "arcticicestudio/nord-tmux" + +# Allows vim to display colors correctly. set -g terminal-overrides ',xterm-256color:Tc' set -g default-terminal "screen-256color" set -as terminal-overrides ',xterm*:sitm=\E[3m' @@ -9,6 +11,7 @@ set -g status-position top # statusbar position set -g status-interval 1 set -g status-left-length 40 set -g status-right-length 140 + #set-option -g status-left '#[fg=white]⚡️#(whoami)@#(hostname -s) | #[fg=green]' #set-option -g status-right '#[fg=aqua]%b %_d %H:%M' diff --git a/.config/zsh/exports.zsh b/.config/zsh/exports.zsh index cd8a273..bdf0c8a 100644 --- a/.config/zsh/exports.zsh +++ b/.config/zsh/exports.zsh @@ -29,6 +29,7 @@ export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" PATH=$(pyenv root)/shims:$PATH - +# Allows tmux to display colors correctly. +export TERM="xterm-256color" export GEM_HOME="$HOME/.gem" -- cgit v1.2.3-70-g09d2