Skip to content

keywordprg support? (e.g. cppman) #22

Open
@bchretien

Description

@bchretien

cppman provides C++ 98/11/14 manual pages for Linux/MacOS, and it can be used in place of man when writing C++ code to easily access the standard library documentation:

autocmd FileType cpp set keywordprg=cppman

cppman

Apparently, vim-man explicitly uses man, so just to be sure, do you confirm that the only way to use cppman with vim-man would be to add cppman manpages to mandb? Note that this option is indeed available in cppman:

-m MANDB, --use-mandb=MANDB
Accepts 'true' or 'false'. If true, cppman adds manpage path to mandb so that you can view C++ manpages with `man' command. The default value is 'false'.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions