change ctrl/cmd to alt key

This commit is contained in:
meganrogge 2020-10-27 14:56:11 -07:00
parent 91136807e8
commit 7b173fac62

View file

@ -262,7 +262,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
description: { description: localize('scm view next commit', "SCM: View Next Commit"), args: [] },
weight: KeybindingWeight.WorkbenchContrib,
when: ContextKeyExpr.has('scmRepository'),
primary: KeyMod.CtrlCmd | KeyCode.DownArrow,
primary: KeyMod.Alt | KeyCode.DownArrow,
handler: accessor => {
const contextKeyService = accessor.get(IContextKeyService);
const context = contextKeyService.getContext(document.activeElement);
@ -276,7 +276,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
description: { description: localize('scm view prior commit', "SCM: View Prior Commit"), args: [] },
weight: KeybindingWeight.WorkbenchContrib,
when: ContextKeyExpr.has('scmRepository'),
primary: KeyMod.CtrlCmd | KeyCode.UpArrow,
primary: KeyMod.Alt | KeyCode.UpArrow,
handler: accessor => {
const contextKeyService = accessor.get(IContextKeyService);
const context = contextKeyService.getContext(document.activeElement);