sponsor Vim development Vim logo Vim Book Ad

shymenu : Show the menu bar only when pressing an accelerator key

 script karma  Rating 1/3, Downloaded by 1497  Comments, bugs, improvements  Vim wiki

created by
Tom Link
 
script type
utility
 
description
shymenu will show the menu bar only when the user presses an accelerator
key. The menu will be hidden again after an item was selected.
shymenu achieves this by defining key maps for those accelerator keys
(see 'winaltkeys') that would normaly activate a menu.

On a terminal, shymenu will define accelerator keys for the |:emenu|
command.

See also:
http://groups.google.com/group/vim_use/browse_frm/thread/44c870c1e930bcc0
 
install details
shymenu is only effective when the menubar is hidden. To to this,
add this line to your vimrc file:

  set guioptions-=m

Edit the vba file and type: >

    :so %

See :help vimball for details. If you have difficulties or use vim 7.0,
please make sure, you have the current version of vimball
(vimscript #1502) installed or update your runtime.


Also available via git
http://github.com/tomtom/shymenu_vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
shymenu.vba.gz 0.3 2008-11-18 7.0 Tom Link - Correct line offset if necessary
- Set g:shymenu_wildcharm from &wildcharm
shymenu.vba.gz 0.2 2008-11-13 7.0 Tom Link Disable insert mode maps by default (conflict with international characters). Set g:shymenu_modes = "ni" to re-enable them.
shymenu.vba.gz 0.1 2008-11-12 7.0 Tom Link Initial upload
ip used for rating: 3.135.219.166

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github