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:
@@ -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 #
|
||||||
############################
|
############################
|
||||||
|
|||||||
Reference in New Issue
Block a user