Use neovim as man pager
This commit is contained in:
parent
0ad3647ddc
commit
4ff10eb05e
2
zshenv
2
zshenv
@ -57,6 +57,8 @@ typeset -U INFOPATH; export INFOPATH
|
||||
# Set default editor.
|
||||
if command -v nvim &> /dev/null; then
|
||||
export EDITOR=`command -v nvim`
|
||||
# Also use nvim for man pages
|
||||
export MANPAGER='nvim +Man!'
|
||||
elif command -v vim &> /dev/null; then
|
||||
export EDITOR=`command -v vim`
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user