joshdick / onedark.vim

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.
MIT License
3.91k stars 529 forks source link

Troubles with Tmux+Vim after tmux redraw #330

Open mihaigalos opened 1 year ago

mihaigalos commented 1 year ago

Terminal Emulator Info

Alacritty 0.12.0

Output From vim --version

VIM - Vi IMproved 9.0

Issue Description

I am seeing some weird behavior with background not redrawing correctly in vim under tmux:

https://github.com/joshdick/onedark.vim/assets/16443090/54aa527b-bb54-4386-986c-4c424cbd2b8f

I'm using easyjump.tmux and performing a leader+s, then the letters get printed on screen by tmux showing where I can jump in the file.

As soon as the jump is performed, the background outside the code region is black (the background of the code is still that of the theme).

Here's my config: .vimrc

set termguicolors

.tmux.conf

set -g default-terminal 'screen-256color'
set -ga terminal-overrides ',*256col*:Tc'

I've also tried adding set -ag terminal-overrides ",alacritty:RGB" to my .tmux.conf.

What could be the problem here?