Wikia

Vim Tips Wiki

Get inline help for PHP functions

Talk0
1,612pages on
this wiki
Revision as of 02:48, July 20, 2009 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

CommentsEdit

See also VimTip598.


ManPageView script#489 also supports PHP help.


Around Wikia's network

Random Wiki