@@ -22,31 +22,31 @@ export const KEYBINDINGS = {
22
22
23
23
'editor.editor-mode' : {
24
24
title : 'Editor View' ,
25
- bindings : [ [ metaKey , 'K' , 'E' ] ] ,
25
+ bindings : [ [ metaKey , 'K' ] , [ 'E' ] ] ,
26
26
action : ( { id } ) => ( dispatch : Function ) => {
27
27
dispatch ( sandboxActions . setViewMode ( id , true , false ) ) ;
28
28
} ,
29
29
} ,
30
30
31
31
'editor.preview-mode' : {
32
32
title : 'Preview View' ,
33
- bindings : [ [ metaKey , 'K' , 'P' ] ] ,
33
+ bindings : [ [ metaKey , 'K' ] , [ 'P' ] ] ,
34
34
action : ( { id } ) => ( dispatch : Function ) => {
35
35
dispatch ( sandboxActions . setViewMode ( id , false , true ) ) ;
36
36
} ,
37
37
} ,
38
38
39
39
'editor.split-mode' : {
40
40
title : 'Split View' ,
41
- bindings : [ [ metaKey , 'K' , 'S' ] ] ,
41
+ bindings : [ [ metaKey , 'K' ] , [ 'S' ] ] ,
42
42
action : ( { id } ) => ( dispatch : Function ) => {
43
43
dispatch ( sandboxActions . setViewMode ( id , true , true ) ) ;
44
44
} ,
45
45
} ,
46
46
47
47
'editor.zen-mode' : {
48
48
title : 'Zen Mode' ,
49
- bindings : [ [ metaKey , 'K' , 'Z' ] ] ,
49
+ bindings : [ [ metaKey , 'K' ] , [ 'Z' ] ] ,
50
50
action : ( ) => ( dispatch : Function , getState : Function ) => {
51
51
const currentZenMode = preferencesSelector ( getState ( ) ) . zenMode ;
52
52
dispatch (
@@ -59,7 +59,7 @@ export const KEYBINDINGS = {
59
59
60
60
'editor.toggle-console' : {
61
61
title : 'Toggle Console' ,
62
- bindings : [ [ metaKey , 'K' , 'D' ] ] ,
62
+ bindings : [ [ metaKey , 'K' ] , [ 'D' ] ] ,
63
63
action : ( ) => ( dispatch : Function , getState : Function ) => {
64
64
const devToolsOpen = devToolsOpenSelector ( getState ( ) ) ;
65
65
dispatch ( viewActions . setDevToolsOpen ( ! devToolsOpen ) ) ;
0 commit comments