I have the opportunity to read the PHP manual through pman, as described here: http://bjori.blogspot.com/2010/01/unix-manual-pages-for-php-functions.html
In my .vimrc file, I added the following so that I can press K to read the help page in a new split window.
source $VIMRUNTIME/ftplugin/man.vim nnoremap K :Man <cword><cr>
It works fine, sometimes. Some features display manual pages just as you would expect. Others, I get the error "I can not find" method_exists ".", For example. First, I wondered if the manual pages were outdated, but that doesn't look like they are.
If I run pman method_exists from the terminal, I will see the expected manual page.
Does anyone know why only some of the manual pages display correctly inside Vim?
Thanks!
jayem source share