diff --git a/.config/zsh/zshrc.d/40-functions.zsh b/.config/zsh/zshrc.d/40-functions.zsh index 3a685af..2851a25 100644 --- a/.config/zsh/zshrc.d/40-functions.zsh +++ b/.config/zsh/zshrc.d/40-functions.zsh @@ -404,7 +404,13 @@ nvim-man() { command man -w "$1" >/dev/null || return # $MANPAGER would do the trick too but lines would be hard-wrapped. - nvim -u NORC +"runtime! plugin/man.vim | Man $1 | only | set scrolloff=999 | normal M" + nvim -u NORC +" + runtime! plugin/man.vim | + Man $1 | + only | + set scrolloff=999 | + normal M + " else command man "$@" fi