Re: [vim/vim] Force help to open in current window. (#7534)

2020-12-29 Fir de Conversatie Charles Campbell
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

Re: [vim/vim] Force help to open in current window. (#7534)

2020-12-26 Fir de Conversatie tooth pik
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