-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reformat text on window resize #14
Comments
Hey thank you for trying out the plugin. The issue with reformatting the window is that it's cumbersome and won't work well with Btw. did you get to use |
I tried The textwidth option sounds like a decent workaround. The map in the pull request I opened works perfectly (minus the part where it loses your place in the buffer), and it's only a single line of code. Knowing about |
If you vertically resize a window containing a manpage, the text remains formatted to fit whatever the original window size was. If the window was originally small and you make it wider, the text doesn't use any of the additional space. Conversely, if the window was originally wide and you make it narrower, it wraps in ways that make it difficult to read. I haven't looked at the code at all so I have no idea how this is done, but I think it would be useful to expose a mapping to reformat the text for the current window size, or for gvim, hook into the VimResized autocmd.
The text was updated successfully, but these errors were encountered: