Bug#827634: ftplugin/man.vim: Does not handle window narrower than terminal width

James McCoy jamessan at debian.org
Sun Jun 19 16:49:24 UTC 2016


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.

> 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.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the pkg-vim-maintainers mailing list