From 25fe1cd3d5d154041d532eae59123347d673369c Mon Sep 17 00:00:00 2001 From: listout Date: Fri, 6 Aug 2021 16:27:57 +0530 Subject: changed manpager and pager to nvim, with syntax hightlighting --- .zshenv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshenv b/.zshenv index 7687230..686270d 100644 --- a/.zshenv +++ b/.zshenv @@ -7,8 +7,8 @@ export PATH=/home/gogo/.fnm:$PATH eval "`fnm env`" export EDITOR=/usr/bin/nvim -export PAGER="/usr/bin/nvim -u NONE +Man!" -export MANPAGER="/usr/bin/nvim -u NONE +Man!" +export PAGER="/bin/sh -c \"col -b | nvim -c 'set ft=man ts=8 nomod nolist nonu noma' -\"" +export MANPAGER="/bin/sh -c \"col -b | nvim -c 'set ft=man ts=8 nomod nolist nonu noma' -\"" export VISUAL=/usr/bin/nvim export BROWSER=/usr/bin/firefox export QT_QPA_PLATFORMTHEME=qt5ct -- cgit v1.2.3