Having searched the forum for +linux +keybinding* +menu* turned up nothing on this issue, so here is creating a new one!
This is a particularly frustrating issue in Linux, especially when trying to use a package like Alternate Vim, which defines alt+i to move the cursor up a line – but this also opens the find menu. In Windows the package and user-defined key bindings take precedence over menu-mnemonic bindings.
I have found a somewhat hacky work-around.
I have a sublime text package called “SubRed” which has a file “Main.sublime-menu” (it’s in .config/sublime-text-3/Packages/SubRed - I manually installed the package).
To disable the menubar I do:
- ctrl+shift+p view: toggle menu (which does not disable the menu by itself for some reason),
- open the Main.sublime-menu file in sublime,
- save it.
Then voila, the menu bar is gone and I can finally use my Alternate Vim package key bindings without conflicting with the alt+[menubar mnemonic].
To get the menu bar back if needed: ctrl+shift+p view: toggle menu.
The ideal solution would be to not have to disable the menubar, but get it to work like windows where user or package defined st3 keybindings take precedence over default or system bindings including alt+[menubar mnemonic]. But where opening menus in the menu bar is still possible with the old binding in sequence – e.g., “alt, i”.
If anyone could suggest a better solution based on this (or otherwise) I (and I’m sure many many people) would appreciate it!