When open vim or kill buffers to empty I encounter with ~ and I'd like to disable/remove it.

enter image description here


In Vim 8

:highlight EndOfBuffer ctermfg=bg guifg=bg

In earlier versions

:highlight NonText ctermfg=bg guifg=bg

(But this will also hide other things. See :help hl-NonText and :help 'listchars')


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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