Skip to content

support MANPAGER as pager#195

Open
Folling wants to merge 1 commit into
aitjcize:mainfrom
Folling:feature/manpager-as-pager
Open

support MANPAGER as pager#195
Folling wants to merge 1 commit into
aitjcize:mainfrom
Folling:feature/manpager-as-pager

Conversation

@Folling
Copy link
Copy Markdown

@Folling Folling commented May 27, 2026

man supports using a different pager than the rest of the system via the $MANPAGER envvar. This is useful for pagers like bat or neovim that require certain man-specific flags (export MANPAGER='nvim +Man!' for nvim).

this PR adds the option to set -p mansystem (name can be seen as a draft, I'm open to suggestions) which makes cppman use MANPAGER instead of PAGER.

I have run both test.py and ./bin/cppman to verify this PR works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant