# https://vimhelp.org/filetype.txt.html#manpager.vim
if [ "$(command -v vim)" ] && vim --version | grep -q '+eval'
then
  export MANPAGER='vim +MANPAGER --not-a-term -'
fi