@@ -22,31 +22,31 @@ export const KEYBINDINGS = {
2222
2323 'editor.editor-mode' : {
2424 title : 'Editor View' ,
25- bindings : [ [ metaKey , 'K' , 'E' ] ] ,
25+ bindings : [ [ metaKey , 'K' ] , [ 'E' ] ] ,
2626 action : ( { id } ) => ( dispatch : Function ) => {
2727 dispatch ( sandboxActions . setViewMode ( id , true , false ) ) ;
2828 } ,
2929 } ,
3030
3131 'editor.preview-mode' : {
3232 title : 'Preview View' ,
33- bindings : [ [ metaKey , 'K' , 'P' ] ] ,
33+ bindings : [ [ metaKey , 'K' ] , [ 'P' ] ] ,
3434 action : ( { id } ) => ( dispatch : Function ) => {
3535 dispatch ( sandboxActions . setViewMode ( id , false , true ) ) ;
3636 } ,
3737 } ,
3838
3939 'editor.split-mode' : {
4040 title : 'Split View' ,
41- bindings : [ [ metaKey , 'K' , 'S' ] ] ,
41+ bindings : [ [ metaKey , 'K' ] , [ 'S' ] ] ,
4242 action : ( { id } ) => ( dispatch : Function ) => {
4343 dispatch ( sandboxActions . setViewMode ( id , true , true ) ) ;
4444 } ,
4545 } ,
4646
4747 'editor.zen-mode' : {
4848 title : 'Zen Mode' ,
49- bindings : [ [ metaKey , 'K' , 'Z' ] ] ,
49+ bindings : [ [ metaKey , 'K' ] , [ 'Z' ] ] ,
5050 action : ( ) => ( dispatch : Function , getState : Function ) => {
5151 const currentZenMode = preferencesSelector ( getState ( ) ) . zenMode ;
5252 dispatch (
@@ -59,7 +59,7 @@ export const KEYBINDINGS = {
5959
6060 'editor.toggle-console' : {
6161 title : 'Toggle Console' ,
62- bindings : [ [ metaKey , 'K' , 'D' ] ] ,
62+ bindings : [ [ metaKey , 'K' ] , [ 'D' ] ] ,
6363 action : ( ) => ( dispatch : Function , getState : Function ) => {
6464 const devToolsOpen = devToolsOpenSelector ( getState ( ) ) ;
6565 dispatch ( viewActions . setDevToolsOpen ( ! devToolsOpen ) ) ;
0 commit comments