bat

Posted on:

bat supports pager.

You can use it by setting the environment variable PAGER or BAT_PAGER.

export BAT_PAGER="ov -F -H3"

bat should not be wrapped (--wrap=never). If it wraps with bat, it cannot be switched to unwrap. It is better to operate with ov.

bat --wrap=never README.md

bat bat