mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-09 17:41:12 +10:00
Changed MANPAGER to less
This commit is contained in:
@@ -17,7 +17,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)"'
|
||||
@@ -25,6 +25,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
|
||||
set -o vi
|
||||
|
||||
Reference in New Issue
Block a user