Imagine a 30-character line shown in a 20-character wide window. How can I soft wrap it at the 25th column?
With :set nowrap
|01234567890123456789|0123456789
| window |
After scrolling till 25th character.
01234|56789012345678901234|56789
| window |
Desired behaviour:
01234|56789012345678901234|
|56789 |
| window |
I tried :set columns
with a large number but it messed up other elements like statusline.
A similar question instead concerns with setting column number smaller than the window width.
:set wrap
won't have the specified behavior (3rd example).