vim-superman
vim-superman copied to clipboard
I'm getting strange line wrapping behaviour. (screenshot provided).
It seems that the lines are attempting to make themselves "too long" by one character, triggering vim's soft linewrapping, which looks awful for manpages.
Here's what it looks like (vman
at the top, vim
on the left, man
on the right).
Is there a solution to this?
(Thanks for the beautiful program, by the way!
I see this too sometimes. I haven't been able to pin down exactly when it happens. I'll keep a more keen eye out for it and report back if I can make any progress.
Ah, cool; thanks!
@jez Hey dude! I think I've found a workaround. I noticed that it was consistently wrapped by only a few characters, and decided to see what would happen if I executed :set nonumber
, and everything looked fine afterwards. So then, I modified line 32 of plugin/superman.vim
to read setlocal nonumber
, and it consistently displays manpages correctly.
My guess is that man is sourcing the terminal width without considering vim's loss of width from the number bar.
I think I actually prefer it this way; it's more minimal, and I can still find my way around with the search and the percentage indicator.
Thanks again for the great plugin!
Oh, yeah if that workaround is fine for you, more power to you!
I'm probably going to keep this issue open anyways, because I'm not willing to give up line numbers.
LINE NUMBERS ARE FOR THE WEAK. EMBRACE MINIMALISM!
:P