View man pages in Vim

From Vim Tips Wiki

Jump to: navigation, search
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.

[edit] 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,


Personal tools