如何更改Vim中未使用的背景颜色? [英] How do I change the unused background color in vim?
本文介绍了如何更改Vim中未使用的背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改vim编辑器中未使用的/底部?图片有望澄清我的糟糕描述:).
How do you change the unused / bottom portion of the vim editor? The picture will hopefully clarify my terrible description :).
推荐答案
该部分由突出显示组NonText控制.因此,您可以在colorscheme行之后添加以下行,以将背景色设置为蓝色.
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
当然可以将蓝色更改为所需的任何颜色.另外,如果您使用的是gvim,则将要使用guibg=
设置背景色.
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.
这篇关于如何更改Vim中未使用的背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文