Or the more general solution which will work for any bg/fg combination: :hi nontext ctermfg=bg guifg=bg cterm=NONE gui=NONE
----- Original Message ---- From: Richard van der Leeden <[EMAIL PROTECTED]> To: vim@vim.org Sent: Thursday, March 15, 2007 12:27:41 PM Subject: Re: Removing tilde characters in front of non-existing lines? François Ingelrest-2 wrote: > > Hello all, > > I'm displaying the line number in front of each line, so the tilde > characters in front of non-existing lines are useless for me. Is there > a way to not display them? > > You can change the colour of 'nontext' items (see :help nontext) to be the same as the background colour - e.g if your background is black do: :hi NonText cterm=NONE ctermbg=black ctermfg=black gui=NONE guibg=black guifg=black -- View this message in context: http://www.nabble.com/Removing-tilde-characters-in-front-of-non-existing-lines--tf3409626.html#a9499387 Sent from the Vim - General mailing list archive at Nabble.com.