On 07/09/09 19:44, Patrick Gen-Paul wrote:
> Tony Mechelynck wrote:
[...]
>> (For "at-sign" lines in a partial wrapped line there _is_ a
>> better solution, but that's not what you're asking about.)
>
> What are "at-sign" lines? I read something about that lately in the
> manual but I cannot seem to remember where.
>
> Thanks,
>
> Gen-Paul.

When 'wrap' is on, lines longer than the screen width are displayed on 
several screen lines. If one of these "long" lines starts near the 
bottom of the window, near the status line, it might be too long to be 
displayed in full. In that case, there are two possibilities:

- By default, that partial line is omitted, and the space where it would 
have been at the bottom of the window is filled up by one or more screen 
lines with just a @ in column 1 and nothing else.
- If 'display' includes "lastline", Vim shows as much of that partial 
line as fits the screen, and it tells you that part of the line is 
missing by showing @@@ at bottom right

In either case, if you move the cursor onto the partial line, the text 
scrolls up so that
     - the (new) current line is displayed in full
     - the top "screen line" of the window is at the start of a "file line".

Of course, none of the above applies if the current line alone is too 
big for the window. In that case, regardless of the 'display' setting, 
you see the part of the line around the cursor and there may be some 
overflow both above and below the window, depending on how far the 
cursor is along that "very long line".

See
        :help 'wrap'
        :help 'display'
and most especially
        :help window-contents

which discusses the above, as well as the "tilde" lines which you hate 
so much.


Best regards,
Tony.
-- 
Texas law forbids anyone to have a pair of pliers in his possession.

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

Reply via email to