vimrc(kitty): work around background colour erase

This commit is contained in:
surtur 2022-07-21 16:29:51 +02:00
parent 28e91bcb0a
commit 8afcf78eb9
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -807,6 +807,10 @@ imap a <M-A>
nnoremap <Leader>ve :e $MYVIMRC<CR>
nnoremap <Leader>vr :source $MYVIMRC<CR>
" 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
let &t_ut=''
" as per https://github.com/direnv/direnv/wiki/Vim
if exists("$EXTRA_VIM")
for path in split($EXTRA_VIM, ':')