Fix tmux/vim/alacritty colors mess
This commit is contained in:
		@@ -1,6 +1,9 @@
 | 
			
		||||
" True color support
 | 
			
		||||
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
 | 
			
		||||
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
 | 
			
		||||
if exists('+termguicolors')
 | 
			
		||||
  let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
 | 
			
		||||
  let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
 | 
			
		||||
  set termguicolors
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
function! s:sonokai_custom() abort
 | 
			
		||||
  " Link a highlight group to a predefined highlight group.
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ bind-key C-x setw synchronize-panes
 | 
			
		||||
 | 
			
		||||
# Better font term
 | 
			
		||||
set -g default-terminal "tmux-256color"
 | 
			
		||||
set -ga terminal-overrides ",*256col*:Tc"
 | 
			
		||||
set -ga terminal-overrides ",alacritty:Tc"
 | 
			
		||||
 | 
			
		||||
# Neovim said to...
 | 
			
		||||
set-option -sg escape-time 10
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user