diff --git a/.config/zsh/zshrc.d/40-functions.zsh b/.config/zsh/zshrc.d/40-functions.zsh index bd08b5e..c5ec5d8 100644 --- a/.config/zsh/zshrc.d/40-functions.zsh +++ b/.config/zsh/zshrc.d/40-functions.zsh @@ -403,7 +403,7 @@ nvim-man() { if (( $+commands[nvim] )) && [[ $# -eq 1 ]]; then # $MANPAGER does the trick too but lines are hard-wrapped. - nvim +"Man $1 | only" + nvim -u NORC +"runtime! plugin/man.vim | Man $1 | only | set scrolloff=999 | normal M" else command man "$@" fi