Pressing Cmd-G when the Find control has focus should move the focus to the editing pane
CompletedVersion 1.0.0 (2022.11.02.23.49)
If you press Cmd-F to open the Find control and type a string to find, you can press Enter to cycle through the occurrences of the target string in the editing window without moving focus to the editing window.
When you press Cmd-G or Shift-Cmd-G you get the same behavior of cycling though the matches and the focus remains in the Find control. Most editing programs on the Mac (including nvAlt) will shift the focus to the editor when you type Cmd-G. This allows you to quickly find the occurrence you are looking for and then start typing to edit the occurrence.
With the current implementation the only way to achieve this is to press Cmd-G to find the occurrence that you wish to edit, the press Tab three times. The first tab moves the focus out of the Find control but I cannot tell where the focus has been moved to. The second Tab moves the focus to the search control at the top. Finally the third Tab moves the focus to the editing pane.
This is very cumbersome and makes it difficult to make quick changes.
-
What version of macOS are you using? The find bar is a standard macOS component, and the standard macOS behavior that I can see (e.g. trying it in TextEdit) is that focus remains in the search field when using Cmd-G.
If you want to return focus to the editor, simply hit escape.
Thanks!
0 -
MacOS is 13.1
Same behavior here for TextEdit.
I never use TextEdit, so I was going with the behavior of nvAlt and TextMate which I use quite a lot.
I didn't think to try Escape. That is easier than Tab three times and I can probably get used to it so it's all good.
Just curious though about where the Focus goes after the 1st Tab when in the Find control? Pressing Enter in this state does nothing and pressing Escape takes the focus to the Search control at the top.
0 -
Hitting tab takes you to the search/create bar.
0 -
When I have focus in the Find control, I must hit Tab twice before focus moves to the search/create bar.
After pressing Tab just once, there is no indication of where the focus is and if I type a letter or press Enter I just hear a beep. I can press Tab again or press Cmd-L to move focus to the search/create bar.
0
Please sign in to leave a comment.
Comments
4 comments