From dad51bde8738a0bac09dc76cd6938a870344f725 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Tue, 30 Jul 2019 23:39:51 -0400 Subject: [PATCH] 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! --- tmux/tmux.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 26cbfe2..46adc56 100644 --- 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 -- libgit2 0.28.4