File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/vs/workbench/contrib/codeEditor/browser/dictation Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import { assertIsDefined } from 'vs/base/common/types';
29
29
import { ActionBar } from 'vs/base/browser/ui/actionbar/actionbar' ;
30
30
import { toAction } from 'vs/base/common/actions' ;
31
31
import { ThemeIcon } from 'vs/base/common/themables' ;
32
+ import { isWindows } from 'vs/base/common/platform' ;
32
33
33
34
const EDITOR_DICTATION_IN_PROGRESS = new RawContextKey < boolean > ( 'editorDictation.inProgress' , false ) ;
34
35
const VOICE_CATEGORY = localize2 ( 'voiceCategory' , "Voice" ) ;
@@ -48,7 +49,10 @@ export class EditorDictationStartAction extends EditorAction2 {
48
49
f1 : true ,
49
50
keybinding : {
50
51
primary : KeyMod . CtrlCmd | KeyMod . Alt | KeyCode . KeyV ,
51
- weight : KeybindingWeight . WorkbenchContrib
52
+ weight : KeybindingWeight . WorkbenchContrib ,
53
+ secondary : isWindows ? [
54
+ KeyMod . Alt | KeyCode . Backquote
55
+ ] : undefined
52
56
}
53
57
} ) ;
54
58
}
You can’t perform that action at this time.
0 commit comments