Viewer for manpages, gnu info, perldoc, and php (unix/linux/cygwin)
Pull request Compare This branch is 1 commit ahead, 1 commit behind vim-scripts:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is a mirror of


The <manpageview.vim> script allows vim to be used as a manpage viewer while one is inside vim.  Coupled with the tip "Using vim as a man-page viewer under Unix", available by clicking on vimtip#167, <manpageview.vim> gives a complete manpage viewing solution using vim!

The Man command will accept four formats for looking up a man page:

    :Man topic
    :Man topic booknumber
    :Man booknumber topic
    :Man topic(booknumber)

In addition, while in normal mode and with the cursor on some topic (system function) that you wish to look up, press the "K" key to invoke the manpage viewer.

The tip vimtip#167 addresses setting up man so that it invokes vim from the command line.

ManPageView supports display of info, perldoc (both system and embedded), php, and python help:.

        :Man info.i

    PERL  (requires the perldoc program)

    PHP  (requires the links program)
        :Man printf.php

   PYTHON: (requires pydoc)

ManPageView "knows" what display tool to invoke by examining the suffix.  For perl, for example, g:manpageview_pgm_pl is (by default) initialized to perldoc.  Similar support is available for custom initialization, overriding the K map, providing a standard prefix or suffix, and specialized syntax highlighting.

Thank you for rating this script!

(alpha/beta version available at