No edit summary |
(Change <tt> to <code>, perhaps also minor tweak.) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{review}} |
{{review}} |
||
+ | {{TipImported |
||
− | {{Tip |
||
|id=606 |
|id=606 |
||
+ | |previous=605 |
||
− | |title=Seeing the man pages while being in VIM |
||
+ | |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= |
||
− | |text= |
||
+ | |category2= |
||
⚫ | |||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | Thank you! Now I can remove my function from .vimrc which do the same thing :) |
||
⚫ | |||
− | ivon--AT--jinr.ru |
||
+ | 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. |
||
− | , November 19, 2003 0:56 |
||
− | ---- |
||
− | After moving my <.vimrc> to <DOTVIMRC> and my <.vim/> to <DOTVIM/>, so as to avoid |
||
− | any of my customizations, and writing a new <.vimrc> with just |
||
− | |||
− | set nocp |
||
− | filetype plugin indent on |
||
− | |||
− | the tip did not work using <ctrl-k> on "printf(...)" in a C file. Obviously it needs something! |
||
− | |||
⚫ | |||
− | [/scripts/script.php?script_id=489 vimscript#489] "Manpageview.vim". |
||
− | |||
− | drNchipO--AT--ScampbellPfamilyA.Mbiz - NOSPAM |
||
− | , November 19, 2003 7:02 |
||
− | ---- |
||
− | Whoops -- yes it does work -- use K, not <ctrl-k>. |
||
− | |||
− | drNchipO--AT--ScampbellPfamilyA.Mbiz |
||
− | , November 19, 2003 7:05 |
||
− | ---- |
||
− | If you use ftplugin/man.vim |
||
− | you can use the VIM builtin manpage viewer, with ability of |
||
− | hyperlinking via the tags mechanism. |
||
− | |||
− | just do |
||
⚫ | |||
+ | <pre> |
||
⚫ | |||
⚫ | |||
+ | </pre> |
||
⚫ | |||
− | '''Anonymous''' |
||
− | , November 23, 2003 7:03 |
||
---- |
---- |
||
− | <!-- parsed by vimtips.py in 0.685816 seconds--> |
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,