F7 should toggle
-
Is there a reason that F7 only shows the Search Results window instead of toggling it? As is, you need to use the mouse to close it. Seems like it would be simple and sensible to make it a toggle.
-
@Jon-Pugh said in F7 should toggle:
Is there a reason that F7 only shows the Search Results window instead of toggling it?
The reason is “design decision”. Specifically, because the first F7 will show the window and move your focus there (so keyboard commands affect the search results, not your active editor view), and the second F7 will move the focus (and keyboard control) back to the editor, without closing the Search Results. This is highly important to people who want to be able to swap the focus easily back-and-forth between the editor and the search results.
As is, you need to use the mouse to close it.
No, you don’t. F7 will show the window, ESC will close it while your focus is in the search results. So you can still close it with the keyboard.
Seems like it would be simple and sensible to make it a toggle.
The developer chose to use the “toggle” portion of F7 to toggle focus, not toggle visibility, which is also sensible: just because it’s not your preferred pairing doesn’t make it not sensible.