未验证 提交 dbd92aa7 编写于 作者: A Alexandru Dima 提交者: GitHub

Merge pull request #55493 from Microsoft/tyriar/53062_diff_keybinding

Use editor.next/prevChange keybinding for diff navigation
......@@ -227,7 +227,7 @@ function registerDiffEditorCommands(): void {
id: 'workbench.action.compareEditor.nextChange',
weight: KeybindingWeight.WorkbenchContrib,
when: TextCompareEditorVisibleContext,
primary: null,
primary: KeyMod.Alt | KeyCode.F5,
handler: accessor => navigateInDiffEditor(accessor, true)
});
......@@ -235,7 +235,7 @@ function registerDiffEditorCommands(): void {
id: 'workbench.action.compareEditor.previousChange',
weight: KeybindingWeight.WorkbenchContrib,
when: TextCompareEditorVisibleContext,
primary: null,
primary: KeyMod.Alt | KeyMod.Shift | KeyCode.F5,
handler: accessor => navigateInDiffEditor(accessor, false)
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册