Fix tmux/vim/alacritty colors mess

This commit is contained in:
Daniel Lynn 2021-07-15 12:04:29 -05:00
parent 5d676fabef
commit 53d8892798
Signed by: daniel
GPG Key ID: 28496A140E180A9D
3 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,9 @@
" True color support
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.

View File

@ -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

1
vimrc
View File

@ -40,7 +40,6 @@ set splitbelow
set splitright
set tabstop=2
set termencoding=utf-8
set termguicolors
set textwidth=80
set title
set ttyfast