Changed MANPAGER to less

This commit is contained in:
Derek Taylor
2023-06-19 18:04:09 -05:00
parent eefd722283
commit c08363a68f
3 changed files with 12 additions and 3 deletions

5
.zshrc
View File

@@ -15,7 +15,7 @@ export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mod
### Uncomment only one of these!
### "bat" as manpager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# export MANPAGER="sh -c 'col -bx | bat -l man -p'"
### "vim" as manpager
# export MANPAGER='/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa<CR>\"</dev/tty <(col -b)"'
@@ -23,6 +23,9 @@ export MANPAGER="sh -c 'col -bx | bat -l man -p'"
### "nvim" as manpager
# export MANPAGER="nvim -c 'set ft=man' -"
### "less" as manpager
export MANPAGER="less"
### SET VI MODE ###
# Comment this line out to enable default emacs-like bindings
bindkey -v