diff options
author | aktersnurra <grydholm@kth.se> | 2021-02-18 21:14:16 +0100 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2021-02-18 21:14:16 +0100 |
commit | cbe9b431bc1cbaa03578748b25339082fa1253b0 (patch) | |
tree | 5361a66cfb5a5c3651e8fdd6bca3e3daf8453a98 | |
parent | f3a9aa1a757418e0a27f1c5e6f81286abbfa9bd5 (diff) |
Fixed vim + tmux color issue
-rw-r--r-- | .config/tmux/.tmux.conf | 3 | ||||
-rw-r--r-- | .config/zsh/exports.zsh | 3 |
2 files changed, 5 insertions, 1 deletions
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" |