Smart help

2 Points

Ferran Pelayo Monfort Ferran Pelayo Monfort

7 years ago

Opens the help page on the current window if cursor is in a help page or opens another tab if it's not

command! -nargs=1 -complete=help Help if &ft=~"help" | help <args> | else | tab help <args> | endif