File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export class Shortcuts {
38
38
39
39
this . shortcuts . set ( `${ modifier } +t` , "newTab" ) ;
40
40
this . shortcuts . set ( `${ modifier } +w` , "closeTab" ) ;
41
+ this . shortcuts . set ( `${ modifier } +r` , "reload" ) ;
41
42
this . shortcuts . set ( `${ modifier } +a` , "selectAll" ) ;
42
43
this . shortcuts . set ( `${ modifier } +c` , "copy" ) ;
43
44
this . shortcuts . set ( `${ modifier } +v` , "paste" ) ;
@@ -51,6 +52,7 @@ export class Shortcuts {
51
52
52
53
this . actions . set ( "newTab" , { ctx : "global" , execute : ( ) => app . newTab ( ) } ) ;
53
54
this . actions . set ( "closeTab" , { ctx : "global" , execute : ( ) => app . getActiveTab ( ) ?. close ( ) } ) ;
55
+ this . actions . set ( "reload" , { ctx : "webpage" , execute : ( ) => app . getActiveTab ( ) ?. reload ( ) } ) ;
54
56
this . actions . set ( "selectAll" , { ctx : "webpage" , execute : ( ) => app . getActiveTab ( ) ?. selectAll ( ) } ) ;
55
57
this . actions . set ( "copy" , { ctx : "webpage" , execute : ( ) => app . getActiveTab ( ) ?. copy ( ) } ) ;
56
58
this . actions . set ( "paste" , { ctx : "webpage" , execute : ( ) => app . getActiveTab ( ) ?. paste ( ) } ) ;
You can’t perform that action at this time.
0 commit comments