On 07/09/09 06:18, Patrick Gen-Paul wrote:
>
> I had previously made these (to me) annoying ~'s invisible by specifying
> "ctermfg=Black ctermbg=Black" for the "NonText" highlight group, but
> there is a caveat, namely that the end-of-line "$" character that by
> default is used to visualize the end-of-line in "list" also became
> invisible.
>
> I could not find any way I could map these ~'s to a different highlight
> group - like "Ignore", for instance, so I was wondering if I could map
> the EOL character to something else that's visible in my color scheme
> and change my color scheme back to having "hi NonText ctermfg=Black
> ctermbg=Black" so that the tildes are no longer visible.
>
> Or, is there a way I could change these pesky tildes to something else,
> possibly having vim point to some obscure Unicode slot that my font does
> not have a glyph for?
>
> Thanks,
>
> CJ

The only solution that I know of consists of resizing the split-window 
in question until it is no bigger than the whole file. Then there won't 
be any "empty lines" in it, unless you scroll past the end of the file.

To rapidly scroll a file which _is_ larger than its window so that the 
bottom line of the file appears as the bottom line of the window, you 
can for instance use

        ggG

i.e., go to top, then go back to the bottom.


IMHO, the _best_ solution simply consists of accustoming yourself to the 
notion that "tilde" lines mean space for growth past the present 
end-of-file. (For "at-sign" lines in a partial wrapped line there _is_ a 
better solution, but that's not what you're asking about.)


Best regards,
Tony.
-- 
i'm living so far beyond my income that we may almost be said to be
living apart.
                -- e. e. cummings

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to