Search code examples
vim

How to change the color of the tilde characters indicating the filler lines after the last line of a buffer in Vim?


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


Solution

  • Try this:

    :highlight NonText ctermfg=12
    

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