I'm writing a plugin which needs to replace the empty line tildes with with a '.' character in a single window split. Is this possible to do with Vimscript?

  • 3
    If memory serves, this question was asked once, and the answer was “not without recompiling vim”—I’ll have to find it though – D. Ben Knoble Oct 6 '19 at 19:15
  • 1
    The best you can do is hi NonText ctermfg=bg guifg=bg – Matt Oct 7 '19 at 5:28
  • 2
    @Matt In recent versions of Vim (since 7.4.2213), there's a specific highlighting group for it: EndOfBuffer – Rich Oct 7 '19 at 9:30

Your Answer

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

Browse other questions tagged or ask your own question.