From 1144f4dfa0a5fcb786505114bdc09b2589b04efe Mon Sep 17 00:00:00 2001 From: Jesus Lopez Date: Thu, 16 May 2024 18:09:50 -0700 Subject: [PATCH] Fix: allow exclamation to open quicklaunch (#3475) --- src/pages/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 5e1bd6e22..4ae5d93a8 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -227,7 +227,8 @@ function Home({ initialSettings }) { (e.key.length === 1 && e.key.match(/(\w|\s|[à-ü]|[À-Ü]|[\w\u0430-\u044f])/gi) && !(e.altKey || e.ctrlKey || e.metaKey || e.shiftKey)) || - e.key.match(/([à-ü]|[À-Ü])/g) || // accented characters may require modifier keys + // accented characters and the bang may require modifier keys + e.key.match(/([à-ü]|[À-Ü]|!)/g) || (e.key === "v" && (e.ctrlKey || e.metaKey)) ) { setSearching(true);