diff --git a/.vim/vimrc b/.vim/vimrc index 9524c41..6f82be3 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1336,7 +1336,13 @@ nnoremap ve :e $MYVIMRC nnoremap vr :source $MYVIMRCcall RefreshUI() " https://sw.kovidgoyal.net/kitty/faq/#using-a-color-theme-with-a-background-color-does-not-work-well-in-vim -" work wround vim's background colour erase +" work around vim's background colour erase: +" +" vim hardcodes background color erase even if the terminfo file does +" not contain bce (not to mention that libvte based terminals +" incorrectly contain bce in their terminfo files). This causes +" incorrect background rendering when using a color theme with a +" background color. let &t_ut='' " as per https://github.com/direnv/direnv/wiki/Vim