0

If I have a really long line, vim truncates it with set nowrap. If I set wrap, I can see all of the text, unless (after wrapping) it is too long to show all of it on the screen. For example, if the second line of my file is very long, none of it is shown at all. Instead, vim shows @ on each line.

text on line 1
@
@
@
@
@
@
@
<status line>

While using set wrap, s there a way to get vim to show what it can of this long line, even if it wraps off the bottom of the window?

  • 1
    :set display+=lastline see duplicate question: vi.stackexchange.com/q/102/1841 – statox Dec 7 '16 at 10:21
  • Thanks @statox. I did search thoroughly, but obviously had some trouble knowing what to search for. – Sparhawk Dec 7 '16 at 10:36
  • I can't blame you: we all have created a duplicate one day ;-) – statox Dec 7 '16 at 10:38

Browse other questions tagged or ask your own question.