diff --git a/src/handlers/quickTools.js b/src/handlers/quickTools.js index 6d95b134d..5a35eb2c5 100644 --- a/src/handlers/quickTools.js +++ b/src/handlers/quickTools.js @@ -83,7 +83,12 @@ function setupHistoryNavigation() { // Search input history navigation if ($searchInput.el) { $searchInput.el.addEventListener("keydown", (e) => { - if (e.key === "ArrowUp") { + if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === "f") { + e.preventDefault(); + const { editor, activeFile } = editorManager; + editor.focus(); + toggleSearch(); + } else if (e.key === "ArrowUp") { e.preventDefault(); const newValue = searchHistory.navigateSearchUp($searchInput.el.value); $searchInput.el.value = newValue;