diff --git a/README.md b/README.md index d96a6ab..891c0d3 100644 --- a/README.md +++ b/README.md @@ -24,16 +24,16 @@ To invoke any of the commands, enter the command symbol and tab label, if required, in the actionbox.
For example: `fjk`, `dlum` or `S`. -- `f`: Navigate to the labeled tab. -- `F`: Jump to the first tab in search results. - `d`: close (**delete**) the labeled tab. - `D`: Close the first search results tab. - `c`: Copy (or **clone**) the labeled tab. - `C`: Duplicate the first search results tab. - `s`: **Suspend** the labeled tab. - `S`: Suspend all search results tabs. -- `p`: **Pin** or unpin the labeled tab. - `e`: Move (**extract**) the tab to a popup window. +- `p`: **Pin** or unpin the labeled tab. +- `f`: Navigate to the labeled tab. +- `F`: Jump to the first tab in search results. - `q`: **Quit** the search page. - `?`: Navigate to this page. diff --git a/pages/search/modules/inputHandlers.js b/pages/search/modules/inputHandlers.js index 28c2c45..dad4230 100644 --- a/pages/search/modules/inputHandlers.js +++ b/pages/search/modules/inputHandlers.js @@ -2,7 +2,11 @@ import { actionboxHandlers } from './actionboxHandlers.js' const focusButtonsWithArrows = (e, abortCallback) => { if (['ArrowUp', 'ArrowDown'].includes(e.key)) { - e.preventDefault() + if (document.activeElement.dataset.arrowNavigation === 'ignore') { + return + } else { + e.preventDefault() + } const buttons = document.querySelectorAll('#searchResults > button') if (buttons.length === 0) { return } diff --git a/pages/search/search.html b/pages/search/search.html index 8c52757..557a6bd 100644 --- a/pages/search/search.html +++ b/pages/search/search.html @@ -8,8 +8,35 @@
- - + + + + + + + + + + + + + + + + + +