Open bchretien opened 9 years ago
Hey @bchretien,
I didn't know about cppman till now, it's interesting. vim-man
explicitly calls man
executable so yea, it won't work with cppman
command.
But I wonder, why would you want to use cppman
with vim-man
?
As for the features: vim-man
has some features that target the man
command specifically, like command line completion and grepping the manpages. I don't see how these could be reused for cppman
at all.
It's probably easier to write cppman
specific versions of those (if you want them).
Other than that, are there maybe some conflicts between cppman
and vim-man
?
cppman provides
C++ 98/11/14 manual pages for Linux/MacOS
, and it can be used in place ofman
when writing C++ code to easily access the standard library documentation:Apparently,
vim-man
explicitly usesman
, so just to be sure, do you confirm that the only way to usecppman
withvim-man
would be to addcppman
manpages to mandb? Note that this option is indeed available incppman
:However, I guess the nice Vim syntax highlighting for
cppman
(it is meant to be used with Vim as a pager) would be lost in the process.