summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2023-11-01 01:13:24 +0100
committerReiner Herrmann <reiner@reiner-h.de>2023-11-01 01:13:24 +0100
commitd452fd315e3fb1857a955d0bf0c2beb0136d6abc (patch)
treeb1bef6885104eef0303a123aa6e38052af7ba937 /bashrc
parentdd93edbab44291aa39e35673cbede25031d06724 (diff)
bashrc: update MANPAGER to use recommended/documented vim command
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
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