1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Use bat as man pager

This commit is contained in:
2021-08-29 22:39:14 +02:00
parent dc63a7a48b
commit 7bdb62b0bb

View File

@@ -271,6 +271,11 @@ if (( $+commands[lesspipe] )); then
eval "$(lesspipe)" eval "$(lesspipe)"
fi fi
# Use bat as a man pager if it's available
if (( $+commands[bat] )); then
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
fi
############################ ############################
# Special SSH key handling # # Special SSH key handling #
############################ ############################