Cppman is a tool that provides C++ manual pages on the terminal. It
acts as a convenient interface to view formatted C++ documentation
directly from cplusplus.com and cppreference.com, allowing developers
to access relevant information quickly without switching to a web
browser.
Features:
- Supports two backends (switch it with cppman -s):
cplusplus.com
cppreference.com
- Syntax highlighting support for sections and example source code.
- Usage/Interface similar to the 'man' command
- Hyperlink between manpages (only available when pager=vim)
- Press Ctrl-] when cursor is on keyword to go forward and Ctrl-T to
go backward.
- You can also double-click on keyword to go forward and right-click
to go backward.
- Frequently update to support cplusplus.com.
WWW: https://github.com/aitjcize/cppman
Co-authored-by: freebsd@fron.io
PR: 284157
Reported by: freebsd@fron.io (initial version)
17 lines
289 B
Plaintext
17 lines
289 B
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
To support vim on nvim as pager, cppman needs fdescfs(5)
|
|
to be mounted on /dev/fd.
|
|
|
|
If /dev/fd is not already mounted:
|
|
|
|
mount -t fdescfs fdesc /dev/fd
|
|
|
|
To make it permanent, add the following line to /etc/fstab:
|
|
|
|
fdesc /dev/fd fdescfs rw 0 0
|
|
EOM
|
|
}
|
|
]
|