zsh:funcs:nvim-man: Format nvim commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user