> You'd need to map an alt key combination (like <A-
> m> for holding ALT and pressing the lowercase m key)
Yes, that's what I do now. Anyway, it just occured to me that, when
the menu bar isn't displayed, vim handles the alt-accelerator keys
that would otherwise open a window. So one should be able to do
something like this:
map <a-d> :call TToggleMenu()\|call feedkeys("\<a-d>", "n")<cr>
But this doesn't work because the keys sent by feedkeys() seem to
bypass the functions responsible for the menus. So how do I open a
menu from within vimscript? Any ideas?
:popup works to some extent but opens the menu as popupmenu where the
cursor is -- as if torn of from the menu bar.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---