On Sun, Jun 19, 2016 at 12:49:24PM -0400, James McCoy wrote: > On Sat, Jun 18, 2016 at 03:41:35PM -0700, Josh Triplett wrote: > > The :Man command, provided by /usr/share/vim/vim74/ftplugin/man.vim, > > always renders the manpage at the width of the terminal, not the width > > of the man window in vim. > > Actually, it seems to use the width of your window at the time that the > script is sourced.
Looks like the width of the window the first time you invoke :Man, yeah. So it doesn't adapt if you resize the Vim window *or* the buffer. > > Ideally, I'd love to see the manpage re-rendered when the width changes > > (or perhaps with C-l or similar), but at a minimum :Man should take the > > current window width into account. > > Yes, it should use the width of the window at the time the command is > run. Sounds good.