It contains
{ "key": "alt+f", "command": "emacs.cursorWordRight",
"when": "editorTextFocus" },
in keybinding.json
I think it's not the plugin's problem. Any advice?
@blackmiaool if Code works without this extension, I'll suggest to start investigation from that extension :)
@rebornix I tried to disable the plugin and edited config file like this:
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+f",
"command": "cursorWordStartLeft",
"when": "editorTextFocus"
},
{
"key": "alt+b",
"command": "cursorWordStartLeft",
"when": "editorTextFocus"
}
]
Then I restarted the vscode and tried them.
I found that the alt+b worked well, and the alt+f triggered the menu "File".
alt+f is a system keybinding for File Menu I'm afraid.
@alexandrudima do we support overriding the alt menu shortcuts?
@jaseonline I'm just asking the feature owner what the expected behavior is.
It appears it is not possible to bind anything to alt+f on Ubuntu because it does not reach the renderer process, the reason being that the File menu uses F as a mnemonic.
@bpasero can decide if he wants to make menu mnemonics configurable in any way to allow for alt+f to reach the renderer process.
https://github.com/Microsoft/vscode/blob/master/src/vs/code/electron-main/menus.ts#L298
Any idea when/if this setting will be merged?
Will be available for our June release.
@bpasero 1.13 is released. Does it contain this feature? How can we achieve it now? I tried the emacs plugin , it still doesn't work (alt-f triggers file menu).
@blackmiaool https://code.visualstudio.com/updates/v1_13#_disable-menu-bar-mnemonics
Most helpful comment
Will be available for our June release.