I've set a filetype in vim for this. I want the help program to be man
. Of course this does not work. For instance, with ssh_config
's manpage, if I am on a word, say ServerAliveCountMax
,
I get an error, since there is no man pager for ServerAliveCountMax
-- it's inside ssh_config
's manpage.
From the command line, is there any way to jump to a string or run some type of command inside man
? Just like how info
can take me to the Miscellaneous
section of screen
's info page:
info screen Miscellaneous
Is this possible with man
? Even running a search would serve...
For OSX/*BSD with /usr/bin/man
, this works:
man -P 'less -p PATTERN' ssh_config