https://github.com/tomtom/shymenu_vim
Show the menu bar in gvim only when pressing an accelerator key (or f10), and hide it again when it is no longer required
https://github.com/tomtom/shymenu_vim
Last synced: 3 months ago
JSON representation
Show the menu bar in gvim only when pressing an accelerator key (or f10), and hide it again when it is no longer required
- Host: GitHub
- URL: https://github.com/tomtom/shymenu_vim
- Owner: tomtom
- Created: 2010-08-16T17:30:20.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2013-10-20T14:38:55.000Z (over 12 years ago)
- Last Synced: 2025-02-22T05:27:51.963Z (over 1 year ago)
- Language: VimL
- Homepage: http://www.vim.org/scripts/script.php?script_id=2437
- Size: 382 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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.
In order to use this plugin, remove "m" from 'guioptions' by adding
something like this to your |vimrc| file, which will hide the menu bar
by default: >
set guioptions-=m
See also:
http://groups.google.com/group/vim_use/browse_frm/thread/44c870c1e930bcc0
Many thanks to A Mechelynck for making me aware of 'wildcharm' and the
trick with |:emenu|.
-----------------------------------------------------------------------
Status: Works for me (there may be some minor quirks)
Install: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT
See http://github.com/tomtom for related plugins.