change ctrl/cmd to alt key
This commit is contained in:
parent
91136807e8
commit
7b173fac62
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue