Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does vim hide wrapped lines and prints multiple @s?

Tags:

vim

By default, vim wraps lines but if they are really long, you may end up seeing only @ characters on your screen. What is the name and purpose of this feature?

like image 877
Rumca Avatar asked Oct 30 '25 19:10

Rumca


1 Answers

:help 'display'

    lastline        When included, as much as possible of the last line
                    in a window will be displayed.  When not included, a
                    last line that doesn't fit is replaced with "@" lines.

You can use :set display+=lastline to display as much content as possible in a window

like image 126
poiu2000 Avatar answered Nov 01 '25 13:11

poiu2000