On 05/10/09 23:48, Tim Chase wrote:
>
>> Vim inserts several blue tilde signs (~) on empty lines
>> *below* my text. I don't know why it does this, but just
>> ignored it. Then, while experimenting with various keystrokes
>> there suddenly appeared several empty lines *above* my text
>> with blue "at" signs (@).
>
> The "~" indicate that "non-lines" (area on the screen that
> doesn't have corresponding data/lines in the file).  The "@"
> signs indicate that the last line has wrapped and can't be
> displayed in its entirety.  You can force vim to display the
> partial line with
>
>     :set display+=lastline
>
> which you can read about at
>
>     :help 'display'
>
> (which includes the information about the line being shown as "@").
>
> To replicate your "wtf" behavior, you can create a line longer
> than the screen width, set 'wrap', and then put enough text above
> that long line so that it's partially off the screen and
> partially on the screen.  It should show either the "@"
> characters or the partial text depending on how 'display' is set.
>
> The behavior bugs me too, so I like to set 'dy' as shown above
> so I can at least see the part of the line that will fit on the
> screen.
>
> -tim

Even with display=lastline, Vim still tells you that the last line (of 
two or more) overshoots past the end of the current window, by means of 
three blue at-signs in the bottom right corner (bottom left, I suppose, 
if 'rightleft' is on, as it would be for Hebrew, Arabic, etc.).

If the current (wrapped) line is longer than the current window, there 
are no at-signs; in that case the part around the cursor fills the 
window, and the rest is hidden above the top and/or below the bottom.


All this is explained in detail at ":help window-contents".


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
175. You send yourself e-mail before you go to bed to remind you
      what to do when you wake up.
-- 

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

Reply via email to