Vim Tips Wiki
Tip 1090 Printable Monobook Previous Next

created December 28, 2005 · complexity basic · author Max S. Ivanov · version 6.0

Do you want to get inline help for PHP functions? Use this extremely simple command:

map <C-F1> "vyiw:new<CR>:execute "r!lynx -dump http://localhost/phpman/function.".@v.".html"<CR>:1<CR>

Place the cursor on a PHP function name and press <C-F1>. You will see a new window open with a textual help page.

Of course you have to install httpd, the php documentation, and the lynx text web browser.


See also VimTip598.

ManPageView script#489 also supports PHP help.