Vim Tips Wiki
m (How to get inline help for PHP functions moved to Get inline help for PHP functions: Page moved by JohnBot to improve title)
(Change to TipImported template + severe manual clean)
Line 1: Line 1:
 
{{review}}
 
{{review}}
  +
{{TipImported
{{Tip
 
 
|id=1090
 
|id=1090
  +
|previous=1088
|title=How to get inline help for PHP functions
 
  +
|next=1091
|created=December 28, 2005 0:48
+
|created=December 28, 2005
 
|complexity=basic
 
|complexity=basic
 
|author=Max S. Ivanov
 
|author=Max S. Ivanov
 
|version=6.0
 
|version=6.0
 
|rating=1/1
 
|rating=1/1
|text=
 
Do you want to get inline help for PHP functions? Use this extreme simple command:
 
 
map &lt;C-F1&gt; "vyiw:new&lt;CR&gt;:execute "r!lynx -dump [http://localhost/phpman/function.".@v.".html"<CR> http://localhost/phpman/function.".@v.".html"&lt;CR&gt;];:1&lt;CR&gt;
 
 
Place cursor on PHP function name and press &lt;C-F1&gt;. You will see new window opened with textual help page.
 
 
 
 
Of course you have to install httpd, php documentation (I think you have yet!), and also lynx text WWW browser.
 
 
 
 
}}
 
}}
 
Do you want to get inline help for PHP functions? Use this extremely simple command:
   
  +
<pre><nowiki>
== Comments ==
 
 
map &lt;C-F1&gt; "vyiw:new&lt;CR&gt;:execute "r!lynx -dump http://localhost/phpman/function.".@v.".html"&lt;CR&gt;:1&lt;CR&gt;
Oops, the vim tips publication engine made some changes on my code. Thus, use
 
  +
</nowiki></pre>
&lt;CR&gt;:1&lt;CR&gt; instead of &lt;CR&gt;;:1&lt;CR&gt;
 
   
 
Place the cursor on a PHP function name and press &lt;C-F1&gt;. You will see a new window open with a textual help page.
asmi [nospam] cl-neva [.] ru
 
, December 28, 2005 0:52
 
----
 
See also [[VimTip598]]
 
   
 
Of course you have to install httpd, the php documentation, and the lynx text web browser.
sessy --AT--
 
, December 28, 2005 2:54
 
----
 
Good tip. Thanks!
 
   
 
==Comments==
How could I make the same &lt;C-F1&gt; make the help window disappear again without asking to save it contents?
 
 
See also [[VimTip598]].
   
pim--AT--lingewoud.nl
 
, December 28, 2005 3:26
 
 
----
 
----
manpageview (see [/scripts/script.php?script_id=489 vimscript&#35;489]) also supports PHP help.
+
ManPageView {{script|id=489}} also supports PHP help.
   
NdrOchip--AT--ScampbellPfamily.AbizM - NOSPAM
 
, January 5, 2006 8:13
 
 
----
 
----
<!-- parsed by vimtips.py in 0.527705 seconds-->
 

Revision as of 10:19, 20 December 2007

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.

Comments

See also VimTip598.


ManPageView script#489 also supports PHP help.