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 `=&helpfile`
:setlocal buftype=help
:help grail

As a command, and using a modified method:

  com! -nargs=+ HE set bt=help|help <args>

then :HE topic will give one help on the requested topic in the current window.

Regards,
Chip Campbell

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/a9191d8f-af9f-35f0-4eb7-d78ab257e29b%40drchip.org.

Raspunde prin e-mail lui