From c896a73fbc0d3f27f10a760afe89b623b29bd2f9 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Tue, 4 Jul 2017 20:16:36 +0200 Subject: [PATCH] Termguicolors --- tmux/.tmux.conf | 3 ++- vim/.vimrc | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 6bca9eb..37945a7 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -35,7 +35,8 @@ setw -g window-status-format ' #I#[fg=colour0] #[fg=colour0]#W ' set -g mouse on # Terminal colors -set -g default-terminal "screen-256color" +set -g default-terminal "xterm-256color" +set-option -ga terminal-overrides ",xterm-256color:Tc" set-option -ga update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID \ SSH_CONNECTION WINDOWID XAUTHORITY" diff --git a/vim/.vimrc b/vim/.vimrc index 7b3d17f..fb540c2 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -10,7 +10,6 @@ filetype plugin on set autoindent filetype indent on - "Fix different locale settings when ssh'ing set encoding=utf-8 @@ -45,9 +44,6 @@ set backspace=2 " Vim & Tmux background color fix set t_ut= -" 256 colors support, set it before colorscheme! -"set t_Co=256 - " Light colorscheme by default colorscheme greygull