You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-03 00:33:22 +03:00 
			
		
		
		
	Added search shortcut
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
		@@ -419,6 +419,14 @@ class LoggedInView extends React.Component<IProps, IState> {
 | 
			
		||||
                    handled = true;
 | 
			
		||||
                }
 | 
			
		||||
                break;
 | 
			
		||||
            case Key.F:
 | 
			
		||||
                if (ctrlCmdOnly) {
 | 
			
		||||
                    dis.dispatch({
 | 
			
		||||
                        action: 'focus_search',
 | 
			
		||||
                    });
 | 
			
		||||
                    handled = true;
 | 
			
		||||
                }
 | 
			
		||||
                break;
 | 
			
		||||
            case Key.BACKTICK:
 | 
			
		||||
                // Ideally this would be CTRL+P for "Profile", but that's
 | 
			
		||||
                // taken by the print dialog. CTRL+I for "Information"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user