On 14/02/09 12:56, Bram Moolenaar wrote:
> Tony Mechelynck wrote:
[...]
>> 2) ":tab help" opens $VIMRUNTIME/doc/help.txt in a new tab even if there
>> already is a help window. I would have expected it to reuse the current
>> help window.
>
> Well, if you use ":tab help" instead of ":help" the user probably wants
> a tab page with help. But if there is an existing tab page for help it
> should be re-used.
[...]
Currently I have a cabbrev to change h to bot h (actually, in Vim 7 "and
later" it is an <expr> abbrev in order to avoid expanding except at the
start of a : line). I was wondering what would happen if I decided to
expand to tab h instead.
Experiment shows that ":tab help" not only opens a new tab even if there
already is a help window in the current tab, it always opens a new tab
even when there already exists a tab with _only_ a help window and
nothing else (and even if that help window is open on the same helptag).
Best regards,
Tony.
--
Uppers are no longer stylish, methedrine is almost as rare as pure acid
or DMT. "Consciousness Expansion" went out with LBJ and it is worth
noting, historically, that downers came in with Nixon.
-- Dr. Hunter S. Thompson
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---