mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 12:30:32 +01:00
Fix bat as a manpager
This commit is contained in:
@@ -294,6 +294,9 @@ if (( $+commands[bat] )); then
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
# And replace cat while we're at it
|
||||
alias cat='bat'
|
||||
|
||||
# According to upstream, "if you have problems add this." I have problems.
|
||||
export MANROFFOPT="-c"
|
||||
fi
|
||||
|
||||
# Source Nix if it's installed. Should be done by the WM, but it isn't
|
||||
|
||||
Reference in New Issue
Block a user