I'm runing nvim through wsl2 on ubuntu. However if I use the windows terminal nvim or vim will not fill the whole terminal

How can I get rid of those black borders?
It works just fine if I use the Ubuntu terminal. But I'd prefer to use the Windows Terminal

In your profile in settings.json add this:
"padding" : "0, 0, 0, 0"
With "padding": "0" I still got the black bar on the right, to get rid of it set "scrollbarState": "hidden"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With