我的 keybindings.json 对 VSCode 没有影响

My keybindings.json has no effect on VSCode

我正在尝试将默认行为从“ctrl + d”更改为“editor.action.copyLinesDownAction”。 我在 keybindings.json:

中添加了所需的设置
{
    "key": "ctrl+d",
    "command": "editor.action.copyLinesDownAction",
}

但仍然执行“ctrl + d”的默认行为(“将选择添加到下一个查找匹配项”) 我的 keybindingService-Log 看起来不错:

Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
Keyboard event cannot be dispatched in keydown phase.
Received  keydown event - modifiers: [ctrl], code: KeyD, keyCode: 68, key: d    
Converted keydown event - modifiers: [ctrl], code: KeyD, keyCode: 34 ('D')    
Resolving ctrl+D    
From 1 keybinding entries, matched editor.action.copyLinesDownAction, when: no when condition, source: user.    
Storing single modifier for possible chord ctrl.
Clearing single modifier due to 300ms elapsed.

我错过了什么?

编辑:提供完整日志

edit:我做了一些更多的测试,我的 keybindings.json 似乎根本没有效果。我正在为 VSCode 使用 Jupyter Notebooks。也许有什么可以覆盖它?

似乎 VSCode 只托管一个 Jupyter 实例,不能更改其中的键绑定。因此无法在 VSCode

中编辑 Jupyter 笔记本的键绑定