I use i3 window manager on Linux which has already Alt
as keybinding for actions and have as keyboard-centric user no use for menu-bars. Therefor I would like to know how to change the keybinding to hide the menu-bar in Visual Studio Code – so that it isn't activated by "accident" all time when running i3-actions.
Changing the keybinding settings to { "key": "alt", "command": "-workbench.action.toggleMenuBar"}
has no effect. Also binding toggleMenuBar to another key works, but doesn't remove the existing Alt
binding.
Latest releases should have option in the User Settings
file.
I tested it in Version 1.16.1
.
"window.menuBarVisibility": "hidden",
Set it to hidden
as above. This will disable the toggling of menu using alt key.
You may want to bind the toggling to other key in keybindings.json
file:
{
"key": "f10",
"command": "workbench.action.toggleMenuBar"
}
Here I have bind it to F10 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.