bat-extras/doc/batman.md

1.2 KiB

bat-extras: batman

Read system manual pages (man) using bat as the manual page formatter.

Gone are the days of losing your place while reading through monotone manual pages. With bat and batman, you can read man ifconfig with beautiful 24-bit color and syntax higlighting.

If you have fzf installed, you can even use batman to search through manual pages!

Usage

batman [SECTION] [ENTRY]

Environment

Variable Description
MANPAGER Changes the pager used for batman. This is treated like BAT_PAGER, but only affects this command.

Installation

This script is a part of the bat-extras suite of scripts. You can find install instructions here.

Acknowledgements

Thanks to @sharkdp and @LunarLambda for debugging how to make this work properly in certain environments.

Issues?

If you find an issue or have a feature suggestion, make a pull request or issue through GitHub! Contributions are always welcome.