mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-11 19:17:19 +10:00
Changed MANPAGER to less
This commit is contained in:
5
.zshrc
5
.zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user