info.vim icon indicating copy to clipboard operation
info.vim copied to clipboard

Respect extra parameters for man fallback

Open xeruf opened this issue 3 years ago • 3 comments

For example, :Info git init falls back to the default git page, while :Man git init shows the right page.

xeruf avatar Jun 01 '22 00:06 xeruf

I don't think :Man is supposed to work like that. For me :Man git init open the page runit-init(8); it probably runs man init, which happens to open git-init(1) on your system.

HiPhish avatar Jun 18 '22 12:06 HiPhish

I think :Man forwards all params to the man command as it should, while :Info seems to only forward the first parameter. man init shows the systemd init page for me, while man git init shows the git-init(1) page. It has always worked that way in my experience.

xeruf avatar Jun 19 '22 19:06 xeruf

However, when I run something like man nonsense init, it shows the result for init, so your result is also expected.

xeruf avatar Jun 19 '22 19:06 xeruf