Vim Tips Wiki
Register
Advertisement
Tip 148 Printable Monobook Previous Next

created October 24, 2001 · complexity basic · author Rex Byrns · version 6.0


I accidentally discovered that using <alt><Menu Hotletter><CR> (e.g <alt>b<CR> - for the buffer menu) causes the menu to break out in a separate 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.

Comments[]

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.


Advertisement