@@ -129,8 +129,14 @@ registerTerminalAction({
129129 keybinding : [
130130 {
131131 primary : KeyMod . CtrlCmd | KeyCode . DownArrow ,
132- weight : KeybindingWeight . WorkbenchContrib + 2 ,
133- when : TerminalContextKeys . accessibleBufferFocus
132+ when : ContextKeyExpr . and ( TerminalContextKeys . accessibleBufferFocus , CONTEXT_ACCESSIBILITY_MODE_ENABLED . negate ( ) ) ,
133+ weight : KeybindingWeight . WorkbenchContrib + 2
134+ } ,
135+ {
136+ primary : KeyMod . CtrlCmd | KeyCode . DownArrow ,
137+ mac : { primary : KeyMod . Alt | KeyCode . DownArrow } ,
138+ when : ContextKeyExpr . and ( TerminalContextKeys . accessibleBufferFocus , CONTEXT_ACCESSIBILITY_MODE_ENABLED ) ,
139+ weight : KeybindingWeight . WorkbenchContrib + 2
134140 }
135141 ] ,
136142 run : async ( c ) => {
@@ -151,8 +157,14 @@ registerTerminalAction({
151157 keybinding : [
152158 {
153159 primary : KeyMod . CtrlCmd | KeyCode . UpArrow ,
154- weight : KeybindingWeight . WorkbenchContrib + 2 ,
155- when : TerminalContextKeys . accessibleBufferFocus
160+ when : ContextKeyExpr . and ( TerminalContextKeys . accessibleBufferFocus , CONTEXT_ACCESSIBILITY_MODE_ENABLED . negate ( ) ) ,
161+ weight : KeybindingWeight . WorkbenchContrib + 2
162+ } ,
163+ {
164+ primary : KeyMod . CtrlCmd | KeyCode . UpArrow ,
165+ mac : { primary : KeyMod . Alt | KeyCode . UpArrow } ,
166+ when : ContextKeyExpr . and ( TerminalContextKeys . accessibleBufferFocus , CONTEXT_ACCESSIBILITY_MODE_ENABLED ) ,
167+ weight : KeybindingWeight . WorkbenchContrib + 2
156168 }
157169 ] ,
158170 run : async ( c ) => {
0 commit comments