commit dad51bde8738a0bac09dc76cd6938a870344f725 (patch)
parent 9128bbc666644db42f210423e7539d1caa1e1f90
Author: Alex Karle <alex@karle.co>
Date: Tue, 30 Jul 2019 23:39:51 -0400
tmux: remove explicit setting of $TERM
This was a couple lines of config that I pasted in a long time ago when
I was desperately trying to get italics to work in iTerm2.
I am now using `st` as my true color terminal emulator, and it doesn't
need this escape code hack. I have given up on italics (not worth the
time or effort), so here's to simpler configs!
More importantly though, this setting of $TERM to be 256 colors really
messes up Vim in the Virtual Console, because it thinks it is 256 colors
when it is really 8 (16 with bold which renders bright), and
colorschemes get all funky. Let tmux set its own TERM value, thank you!
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
@@ -15,12 +15,6 @@ bind c new-window -c "#{pane_current_path}"
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf; display "reloaded"
-# Add truecolor support
-# set-option -ga terminal-overrides ",xterm-256color:Tc"
-# Default terminal is 256 colors
-set -g default-terminal 'tmux-256color'
-set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m'
-
# switch panes using vim keys
bind C-h select-pane -L
bind C-j select-pane -D