用于cmd +删除的Mac上的VS代码键绑定

时间:2015-05-12 12:44:21

标签: visual-studio-code

我正在尝试将命令``设置为基于无效的键绑定cmd+delete执行(不工作===没有任何反应)

默认映射是:

{ "key": "shift+cmd+k",       "command": "editor.action.deleteLines",
                                 "when": "editorTextFocus" }

我的尝试设置是:

{ "key": "cmd+delete",        "command": "editor.action.deleteLines",
                                 "when": "editorTextFocus" }

1 个答案:

答案 0 :(得分:2)

Mac键盘通常没有delete键,您可能会想到backspace

{ "key": "cmd+backspace",        "command": "editor.action.deleteLines",
                                 "when": "editorTextFocus" }