Sunday, November 4, 2012

Re: sourcing functions in file with has gui_running from .vimrc

On Sun, Nov 4, 2012 at 7:56 AM, Tony Mechelynck
>
> If these options are set correctly and you still don't see the tabs, then
> another possibility is that Vim would set 'guitablabel' and 'guitabtooltip'
> to some default (or empty) value at GUI startup. To counteract this, you can
> set them at the GUIEnter autocommand event:
>
> if has('gui') && has('autocmd') && has('windows')
> au GUIEnter * set gtl=%{GuiTabLabel()} gtt=%{GuiTabTooltip()}
> endif

Thanks. It's interesting that, as originally written, if the code was
in the .vimrc it worked, but if included in a separate file it did not
unless I use the GUIEnter command...

But it worked! Thanks!

c
--
Chris Lott <chris@chrislott.org>

--
You received this message from the "vim_use" 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

No comments: