Vim 分割条样式 [英] Vim split bar styling
本文介绍了Vim 分割条样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何设置样式或删除窗口拆分时出现的灰色条?
How do I style or remove the grey bar that appears on window split?
推荐答案
您需要编辑您的配色方案.高亮组是VertSplit
.
You'll need to edit your colorscheme. The highlight group is VertSplit
.
如果你想去掉竖线字符,你可以将 ctermbg
和 ctermfg
设置为相同的值.
If you want to get rid of the pipe characters you can set ctermbg
and ctermfg
to the same value.
*摘自 ib.下面回答.
*Taken from ib. answer below.
为了摆脱|字符,应该使用以下方法更改垂直分隔符:
In order to get rid of | characters, one should rather change vertical separator using:
:set fillchars+=vert:\
(注意 '\' 字符后的重要空格)
(note the significant whitespace after the '\' character)
这篇关于Vim 分割条样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文