From a4b96a02a0db6f52222599d9f602353ec7d46149 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Tue, 31 Jul 2018 11:17:23 -0700 Subject: [PATCH] Use editor.next/prevChange keybinding for diff navigation Fixes #53062 --- src/vs/workbench/browser/parts/editor/editorCommands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/browser/parts/editor/editorCommands.ts b/src/vs/workbench/browser/parts/editor/editorCommands.ts index 600ece0164f..0b81b022ae7 100644 --- a/src/vs/workbench/browser/parts/editor/editorCommands.ts +++ b/src/vs/workbench/browser/parts/editor/editorCommands.ts @@ -224,7 +224,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) }); @@ -232,7 +232,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) }); -- GitLab