Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim/nvim not filling windows terminal [closed]

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

enter image description here

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 enter image description here


2 Answers

In your profile in settings.json add this: "padding" : "0, 0, 0, 0"

like image 121
apena Avatar answered Jan 23 '26 03:01

apena


With "padding": "0" I still got the black bar on the right, to get rid of it set "scrollbarState": "hidden"

like image 41
noen Avatar answered Jan 23 '26 03:01

noen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!