On Fri, Dec 20, 2019 at 10:39 PM Salman Halim <[email protected]> wrote:
> On Fri, Dec 20, 2019, 16:26 Tony Mechelynck <[email protected]> 
> wrote:
>> On Fri, Dec 20, 2019 at 9:15 PM Salman Halim <[email protected]> wrote:
>> >
>> > Hello,
>> >
>> > I switched to GVim 8.2 (Windows 10) and no longer see the tab list at the 
>> > top. I tried both my self-compiled version and the version with patch 24 
>> > off GitHub. I also tried two different computers, both with Windows 10.
>> >
>> > I've gone back to 8.1 because I rely upon multiple tabs in my daily 
>> > workflow, but figured it would be worth finding out whether it was just 
>> > something with my configuration.
>> >
>> > Thank you,
>>
>> I see tabs at the top even in gvim 8.2, but I'm using text-style tabs
>> in both vim and gvim, thanks to the following code in my vimrc (the
>> "if" wrapping avoids problems with versions earlier than Vim 7 but
>> also with limited featuresets of any version):
>>
>> ...
>>
>> Best regards,
>> Tony.
>
>
> Switching to non-gui tabs via removing e from &guioptions shows the non-gui 
> tabs just fine. Interestingly, then adding e BACK shows the gui tabs. I just 
> get an empty space otherwise.
>
> Would you mind trying the GUI tabs, please? You'd have to enable them in your 
> vimrc because doing it after works for me, also, and wouldn't be 
> representative of my experience. Should be as simple as not taking e out, I'm 
> thinking.
>
> Thanks, Tony.

Adding back e in my vimrc on the line where it sets 'guioptions' (by
value rather than by increment) shows me GTK-style tabs in my gvim Big
build with GTK2 GUI. Since 'guitablabel' is (by default) empty, I see
Vim's default tab label on them. Then ":set go-=e" manually shows my
preferred text-style tabs, of narrower height, with the label defined
by the 'tabline' setting in my vimrc, as previously shown.

FWIW, this is the relevant section of my modified vimrc (where ¬ in
the comments means "not"); as a second test I completely commented
away the ":set guioptions=" line (resulting in the default aegimrLtT
value), and GTK-style tabs were still present.

  " 'guioptions': GUI options
  "  !: run external commands (or the shell) in a terminal window
  " ¬a: no autoselect for "+
  " ¬P: ditto for "*
  " ¬A: ditto for modeless selection
  "  c: use console dialogs (not popup dialogs) for simple choices
  " ¬e: use text-style, tabs even in the GUI
  " ¬f: use fork() to start the GUI
  "  i: use a GUI icon if possible
  "  m: menu bar is present
  " ¬M: source $VIMRUNTIME/menu.vim
  "  g: inactive menuitems are shown (greyed-off)
  "  t: include tearoff menuitems
  "  T: include toolbar
  "  r: right-hand scrollbar is always present
  " ¬R: not only when vertically split
  " ¬l: left-hand scrollbar is not always present
  "  L: only when vertically split
  " ¬b: no bottom scrollbar
  " ¬h: bottom scrollbar is not limited to size of cursor line
  " ¬v: do not force vertical button layout in dialogs
  "  p: do not include X11 pointer callbacks (required by some WMs)
  " ¬F: don't add a Footer (Motif-only)
" set guioptions=!cgimrLtTp
  set guioptions=!cegimrLtTp

Since I have no Windows system, I cannot compare this with what would
happen under Windows with the same vimrc.

Best regards,
Tony.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAJkCKXvYMReYV1dEuB6nXt1yrxkSOWxJXhXraXheWjPQtPi%2BNg%40mail.gmail.com.

Reply via email to