Tallboy
Tallboy

Reputation: 13407

Why does MacVim show `@` and blank space for long strings?

This drives me really insane...

Say I have a short line of text on line 32, and a very long string on line 33, say 10,000 characters long... if I have word-wrap on, it ONLY shows line 32 and stops there, and instead of displaying 33+ it just displays @ in the first column and all the rest is whitespace.

I have to move the cursor all the way to the very bottom and then the entire string appears at once.

This is extremely jarring because if you 'overshoot' when scrolling, it immediately disappears again.

I want it to behave sanely... where nothing jumps in or out of the screen all at once. It should just flow along like normal with all the other line numbers, and always be visible.

Upvotes: 1

Views: 68

Answers (1)

Tallboy
Tallboy

Reputation: 13407

The answer was I needed to add this:

" show as much of long lines as possible
:set display+=lastline

Upvotes: 2

Related Questions