wal.vim
wal.vim copied to clipboard
disable transparent background?
Hi,
I just discovered wal.vim
and really like the results; however, I don't want a transparent background. This can usually be resolved with
" some colorscheme
colorscheme monokai
" disable transparent background
set background=dark
" disable for "kitty" terminal as well
let &t_ut=''
in $MYVIMRC
. However, when I put colorscheme wal
, it will not work. I still have set background=dark
and let &t_ut=''
below colorscheme wal
(just as I did with monokai
), but the background will always be transparent.
I use picom
(previously compton
) as composite manager to get this transparent background for my terminal; however, vim
is the only program I'd prefer not to have transparency, and usually this works great. Only this plugin does not respect the other settings. Can you please tell me what I need to change in order to have a dark background for vim even when using colorscheme wal
?
Thank you for your help :)
You can change the pywal color scheme by going into your <pluginfolder>/wal.vim/colors/wal.vim
I use vim-plug so for me it is
$HOME/.vim/plugged/wal.vim/colors/wal.vim
and change Line 19
hi Normal ctermbg=NONE ctermfg=7
to
hi Normal ctermbg=0 ctermfg=7
If you prefer to have it in your ~/.vimrc
just add it after loading the scheme like so:
colorscheme wal
hi Normal ctermbg=0