如何更改 Vim 中缓冲区最后一行之后指示填充行的波浪号字符的颜色? [英] How to change the color of the tilde characters indicating the filler lines after the last line of a buffer in Vim?

查看:25
本文介绍了如何更改 Vim 中缓冲区最后一行之后指示填充行的波浪号字符的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当 Vim 启动时,它会为空行显示波浪号 (~).有没有办法改变它的颜色?

解决方案

试试这个:

<前>:highlight NonText ctermfg=12

12 是默认颜色;随心所欲地更改.

When Vim starts, it displays the tilde symbol (~) for empty lines. Is there a way to change its color?

解决方案

Try this:

:highlight NonText ctermfg=12

12 is the default color; change as you see fit.

这篇关于如何更改 Vim 中缓冲区最后一行之后指示填充行的波浪号字符的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆