Comment 5 for bug 1007075

Revision history for this message
Jakson Alves de Aquino (jaksonaquino) wrote :

Keyboard shortcuts are added manually when creating a menu item. Example:

:menu Edit.Echo\ Hello<Tab>eh :echo "Hello"<CR>

Actually, the command "eh" will not echo anything because the real shortcut was not created by a :map command. But you can execute the command through the menu, which should have the following appearance:

    Edit
    [...]
    Echo Hello eh

But we actually see:

    Edit
    [...]
    Echo Hello

The keyboard shortcuts only appear if the global menu is disabled by starting gvim with the command:

UBUNTU_MENUPROXY= gvim

I'm using Ubuntu 12.10 64bit.