From d452fd315e3fb1857a955d0bf0c2beb0136d6abc Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Wed, 1 Nov 2023 01:13:24 +0100 Subject: bashrc: update MANPAGER to use recommended/documented vim command --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 77f5134..8582ad0 100644 --- a/bashrc +++ b/bashrc @@ -75,7 +75,7 @@ export GPG_TTY=$(tty) export RIPGREP_CONFIG_PATH=${HOME}/.config/ripgreprc # use vim as pager (VimTip 167) -export MANPAGER="/bin/sh -c \"col -b -x | view -u ~/.vim/pager.vim -c 'set ft=man nomod nolist' -\"" +export MANPAGER="vim -u ~/.vim/pager.vim +MANPAGER --not-a-term -" export PERLDOC_PAGER=$MANPAGER export GROFF_NO_SGR=1 -- cgit v1.2.3