From 0526829af53f3e11e8fb956c21496fc6f7bc89da Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 03:37:42 +0100 Subject: [PATCH] vimrc: add context from the issue --- .vim/vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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