I want to be able to read man pages in vim. For some reason, it seems that vim isn\'t able to read the output of programs through piping (i.e \'(man ls) | vi\' doesn\'t seem
A lot of good answers, with respect to plugins it's worth to add that vim-man* provides a set of convenience functions to open and read man pages:
Viewing man pages, as per docs.
:Man printf
- open printf(1)
man page in a split:Vman 3 putc
- open putc(3)
man page in a vertical split:Man pri
-
command completion for man page names* Available on GitHub: https://github.com/vim-utils/vim-man.