Patrick Gen-Paul schrieb:
> IOW, surrender? Let's say I have developed a phobia to these tildes
> over the years and it is getting worse. :-)
>
> I can think of a few other "solutions":
> 3. Changing the highlight specification for NonText on the fly: I
> don't use the "list" display mode all that often, mostly when I'm
> looking for trailing blanks. So I was thinking that I could set
> NonText to Black on Black in my color scheme and maybe define
> something that I could use in lieu of ":set list" that would (1)
> switch NonText to something visible, and (2) invoke ":set list".
> Sounds reasonable on the face of it but not sure how to implement
> that.
You can also try toggling the 'highlight' option:
:h 'hl
:nn <expr> <F8> ':set hl'.(&hl=~'@:Ignore'?'-':'+').'=@:Ignore<CR>'
This replaces NonText with the Ignore highlight group (for builtin
"occasions"), assuming that Ignore will hide things sufficiently.
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---