1
0
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:
2023-10-27 08:57:31 +02:00
parent 8f0fa8da4d
commit 73b9d8f001

View File

@@ -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