From 7efc5e2fbde87ada7d3c7e7b61d776f5697dad57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 20 May 2023 00:22:10 +0200 Subject: [PATCH] Add '/' as a hotkey for search MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/ui/components/modals/hotkeys-modal.tsx | 2 +- app/soapbox/features/ui/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/features/ui/components/modals/hotkeys-modal.tsx b/app/soapbox/features/ui/components/modals/hotkeys-modal.tsx index 595254a98..48608047b 100644 --- a/app/soapbox/features/ui/components/modals/hotkeys-modal.tsx +++ b/app/soapbox/features/ui/components/modals/hotkeys-modal.tsx @@ -113,7 +113,7 @@ const HotkeysModal: React.FC = ({ onClose }) => { - s + s, / diff --git a/app/soapbox/features/ui/index.tsx b/app/soapbox/features/ui/index.tsx index 298e3314c..d09e07e80 100644 --- a/app/soapbox/features/ui/index.tsx +++ b/app/soapbox/features/ui/index.tsx @@ -156,7 +156,7 @@ const EmptyPage = HomePage; const keyMap = { help: '?', new: 'n', - search: 's', + search: ['s', '/'], forceNew: 'option+n', reply: 'r', favourite: 'f',