On Nov 11, 2:43 am, Tom Link <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like to show the menu bar only when the alt key is pressed.
> Alternatively: I'd like to press the alt key alone to toggle the
> display of the menu bar.
>
> Creating a function to toggle the display of the menu bar is trivial.
> But how could I map the alt key? Is there a way to do this or do I
> have to map this function to some regular key? I use gvim for windows.
>
> Regards,
> Thomas.
I'm about 99.5% certain that Vim is not capable of recognizing the alt
key all by itself. You'd need to map an alt key combination (like <A-
m> for holding ALT and pressing the lowercase m key) or an alternate
key (suggestion: the <F2> key and up are all free, the <F1> key by
default does the same as :help<CR>).
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---