Suddenly I notice the menu on top of my gvim screen has disappeared.
(The toolbar is still there with its icons and their menus. The popup
menu also appears on right-click. Only the main menu is gone.)

Don't know if it's the fact of compiling with GTK3 instead of GTK2, ot
of switching from KDE Plasma to Gnome window manager; maybe it's both.
(Plasma is unstable in openSUSE 15.2 beta with the settings I had.)

Workaround: the lines marked → in the snippet below (from my vimrc)
were moved out of the "if !has('gui_running')" block. Now I have a
keyboard-activated menu (with Toolbar. and Popup. before File. and
DrChip. between Window. and Help.) on the statusbar by hitting F10,
even in gvim. (The space between :emenu and <C-Z> is important.)

  if has('wildmenu')
    set wildmenu
    if exists('+wildmode')
      set wildmode=longest:full,full
    endif
→   set wildcharm=<C-Z>
→   map <F10> :emenu <C-Z>
→   imap <F10> <C-O>:emenu <C-Z>
    if !has('gui_running')
      runtime! menu.vim
    endif " !has('gui_running')
  endif " 'wildmenu'

Best regards,
Tony.

-- 
-- 
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/CAJkCKXsYPa1T3WdTV7wmczShMkbeah%3DrpZMyO9jkb2VymPjX7A%40mail.gmail.com.

Raspunde prin e-mail lui