我正在尝试将命令``设置为基于无效的键绑定cmd+delete
执行(不工作===没有任何反应)
默认映射是:
{ "key": "shift+cmd+k", "command": "editor.action.deleteLines",
"when": "editorTextFocus" }
我的尝试设置是:
{ "key": "cmd+delete", "command": "editor.action.deleteLines",
"when": "editorTextFocus" }
答案 0 :(得分:2)
Mac键盘通常没有delete
键,您可能会想到backspace
。
{ "key": "cmd+backspace", "command": "editor.action.deleteLines",
"when": "editorTextFocus" }