How do I change the unused background color in vim

2019-02-26 13:56发布

How do you change the unused / bottom portion of the vim editor? The picture will hopefully clarify my terrible description :).

vim editor screenshot

标签: vim highlight
1条回答
ら.Afraid
2楼-- · 2019-02-26 14:22

That section is controlled by the highlight group NonText. So you can add the following line after your colorscheme line to set the background color to blue.

highlight NonText ctermbg=blue

Of course change blue to whatever color you want. Also if you are in gvim you will want to use guibg= to set the background color.

查看更多
登录 后发表回答