I already read vim tip about online-refer to function of PHP.
http://www.vim.org/tips/tip.php?tip_id=598
It said: 
==========================================
set keywordprg=a_script

What it does:
default, when you ar with the cursor on a WORD and press K (SHIFT+k) in
`command mode',
the vim will run 'man WORD'.
If you set keywordprg=a_script,  the  vim will run `a_script WORD'

So I have
set keywordprg=/home/marcel/php_doc
and php_doc looks like:
#######
#!/usr/bin/bash
links http://www.php.net/$1
#######
And now I have the online help 
==========================================
This worked for me in FC5 and FreeBSD 6.1. How about WindowsXP
How can I refer PHP online function in WindowsXP.
Thanks in advanced

Reply via email to