sponsor Vim development Vim logo Vim Book Ad

basic Tip #148: Make great use of those homemade menus

 tip karma   Rating 11/7, Viewed by 1462 

created:   October 24, 2001 14:13      complexity:   basic
author:   Rex Byrns      as of Vim:   6.0

Accidently discovered that using <alt><Menu Hotletter><cr> (e.g <alt>b<cr> - for the buffer menu) causes the menu to break out in a seperate window.  
Selecting the menu with the mouse and then hitting enter does not seem to do it.

I will have to learn to add hotletters to my menus now so that the mouse can take a break.

I am a total newbie with vim, but constantly amazed....

 rate this tip  Life Changing Helpful Unfulfilling 

<<How to write a plugin | Automatically update your diff upon writing. >>

Additional Notes

[email protected], October 24, 2001 18:39
i suspect you're referring to the tearoff capability of the gui menus.  your 'guioptions' must include a 't' in the value for them to be enabled.  they are the very first thing (looks like a small pair of scissors surrounded by hyphens) in each menu and CAN be clicked with the mouse also.
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 [email protected] after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo