Pavol Juhas wrote:
I think this can work without opening/closing help, the trick is to
set buftype=help.
Also :view is preferable so that the main help file opens as read-only.
$ vim
:view `=`
:setlocal buftype=help
:help grail
As a command, and using a modified method:
com! -nargs=+ HE
why not do something simple like
command! -nargs=+ H execute "silent help " | only
in your vimrc?
On Sat, Dec 26, 2020 at 10:22 AM lacygoill
wrote:
> For me, it doesn't seem to work; that is, I still get two windows instead
> of one, because :h still splits the current window, even when the