对于Mac上的VSCode,我希望同时使用cmdq快捷方式:
- Close one window at a time (the default behaviour is to close all of them and quit the app)
- Quit the app if last window closed (rewiring
cmd+q
shortcut toworkbench.action.closeWindow
prevents this)
我必须具有什么键盘配置?
目前我只有
{
"key": "cmd+q",
"command": "workbench.action.closeWindow"
},
但是,如上面#2所述,这会禁用应用程序实际退出。我正在尝试模拟AltF4在Windows上的功能。