Example: ssh_config
I've set a filetype in vim for this. I want the help program to be
man
Of course this does not work, 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.
Is there any way to, from the command line, jump to a string or run some type of command inside man? Much like info actually:
info screen Miscellaneous
will take me to the Miscellaneous section of screens info page.
Is this possible with man? Even running a search would serve...
EDIT: I'm using OSX 10.6.5. with the default man ( /usr/bin/man)
EDIT: I speak a bit of dialect ;) , so I was led to the correct answer:
man -P 'less -p PATTERN' ssh_config
Is the invocation on OSX/*BSD it would seem.