0

I'd like to change the color of a certain character set displayed in my terminal.

I'm not sure if it's related to the terminal itself (xfce terminal) or to the colorscheme (distilled.vim) so I'm not sure how to target it properly. Could it be something tied directly to some sort of setting within the OS itself? (Lubuntu)

Here are some screenshots, the first two show what I'm talking about. It's the deep blue tilde ~ characters that denote the end of the file as well as the .... line characters in the second image.

end of file designations

.... designations

xfce color settings

distilled vim colorscheme

The remaining images show my terminal color palette and my vim scheme, if they're of any use.

Nord https://github.com/arcticicestudio/nord-xfce-terminal

Distilled https://github.com/KKPMW/distilled-vim

Any ideas? Thanks in advance for any insights!


UPDATE: Since the color of those characters is changed with other colorschemes, I suspect there is something I can target within vim to set the color. But looking through the many colorschemes I have, I don't know enough about them to know what I'm looking for...

1
  • 1
    Welcome back :)
    – D. Ben Knoble
    Commented Jul 10, 2020 at 12:15

1 Answer 1

3

I was able to set these elements to different colors by targeting these two highlight groups:

EndOfBuffer NonText

So in my case, I added the following to my .vimrc, mirroring the way the colors are established within the distilled colorscheme's files:

hi clear EndOfBuffer
hi clear NonText

hi EndOfBuffer  ctermbg=0 ctermfg=8 cterm=NONE guibg=NONE    guifg=#6194ba gui=NONE
hi NonText      ctermbg=0 ctermfg=8 cterm=NONE guibg=NONE    guifg=#6194ba gui=NONE

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.