forked from vim-scripts/ManPageView
-
Notifications
You must be signed in to change notification settings - Fork 2
Viewer for manpages, gnu info, perldoc, and php (unix/linux/cygwin)
intuited/ManPageView
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=489 (Unix/Linux) 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:. INFO :Man info.i PERL (requires the perldoc program) :Man printf.pl :Man cos.pl :Man sprintf.pl PHP (requires the links program) :Man printf.php PYTHON: (requires pydoc) :Man pprint.py 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 http://mysite.verizon.net/astronaut/vim/index.html#MANPAGEVIEW)
About
Viewer for manpages, gnu info, perldoc, and php (unix/linux/cygwin)
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Vim Script 100.0%