1

I'm using VIM version 8.2
When I'm on the line above the very long line, it appears as if there is no line below it. (Refer Below Image)

Very long line disappears

But as soon as I move down, I get to see everything in that line. (Refer Below Image) Very long line appears

Is there a way to make the very long line appear whithout having the cursor on it?

1 Answers1

2

You can set display+=truncate or set display+=lastline, which tell Vim to display the last line but put @@@ in the first or last column to indicate the rest is not displayed.

Also see https://vim.fandom.com/wiki/Working_with_long_lines

leaf
  • 1,624
  • 11
  • 16