thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.73k stars 240 forks source link

Vim theme inverted in termite #663

Closed mathewcohle closed 3 years ago

mathewcohle commented 5 years ago

Hi,

I've stumbled upon following problem when started to use termite with sway. When vim is opened inside termite, the colors looks inverted:

Current: screenshot

Expected: screenshot

The issue can be solved by exporting COLORFBGB='15;0' - I have "stole" it from konsole, see

https://github.com/KDE/konsole/blob/master/src/Session.h#L321 https://github.com/KDE/konsole/blob/master/src/Session.cpp#L477

I'm using custom vim theme, see https://github.com/mathewcohle/dotfiles/blob/master/vimrc#L42 https://github.com/mathewcohle/dotfiles/blob/master/vim/colors/gruvbox.vim

My termite conf: https://github.com/mathewcohle/dotfiles/blob/master/termite/config

Let me know if you need any other information.

thestinger commented 3 years ago

Termite is obsolete. Please use Alacritty instead. See https://github.com/thestinger/termite#termite-is-obsoleted-by-alacritty for more details.