(Change to TipImported template + severe manual clean) |
(Change <tt> to <code>, perhaps also minor tweak.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|previous=605 |
|previous=605 |
||
|next=607 |
|next=607 |
||
− | |created= |
+ | |created=2003 |
|complexity=basic |
|complexity=basic |
||
|author=Manas Behera |
|author=Manas Behera |
||
|version=5.7 |
|version=5.7 |
||
|rating=54/26 |
|rating=54/26 |
||
+ | |category1= |
||
+ | |category2= |
||
}} |
}} |
||
You can see the man pages of anything you want from Vim. No need to exit Vim. Just put the cursor on the word and press K and you will be in the man page section. when you are through just press 'q' and you will be out of Vim. Press enter to come back to Vim. |
You can see the man pages of anything you want from Vim. No need to exit Vim. Just put the cursor on the word and press K and you will be in the man page section. when you are through just press 'q' and you will be out of Vim. Press enter to come back to Vim. |
||
Line 15: | Line 17: | ||
==Comments== |
==Comments== |
||
− | You can use < |
+ | You can use <code>ftplugin/man.vim</code> (distributed with Vim) for the Vim built-in manpage viewer, with ability of hyperlinking via the tags mechanism. |
<pre> |
<pre> |
||
− | :Man |
+ | :Man <your favourite man page> |
</pre> |
</pre> |
||
Revision as of 05:38, 13 July 2012
Tip 606 Printable Monobook Previous Next
created 2003 · complexity basic · author Manas Behera · version 5.7
You can see the man pages of anything you want from Vim. No need to exit Vim. Just put the cursor on the word and press K and you will be in the man page section. when you are through just press 'q' and you will be out of Vim. Press enter to come back to Vim.
See also Using vim as a man-page viewer under Unix andManPageView.
Comments
You can use ftplugin/man.vim
(distributed with Vim) for the Vim built-in manpage viewer, with ability of hyperlinking via the tags mechanism.
:Man <your favourite man page>
A lot better (but a little slower) than the Shift+K,