Vim Tips Wiki

Changes: Get inline help for PHP functions


Back to page

(Remove html character entities)
(Adjust previous/next navigation)
Line 3: Line 3:
|created=December 28, 2005
|created=December 28, 2005

Latest revision as of 02:48, July 20, 2009

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.

Around Wikia's network

Random Wiki