Vim Tips Wiki

View man pages in Vim

Revision as of 09:02, September 29, 2008 by JohnBot (Talk | contribs)

1,619pages on
this wiki
Tip 606 Printable Monobook Previous Next

created November 19, 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.


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,

Around Wikia's network

Random Wiki