Open sftd opened 8 years ago
So you want Ctrl+Enter to act as "Replace All" if there are active search highlights ... even if the focus is on the editor window, not the find-and-replace view?
Yes, I think it can be useful.
In situation I encountered recently I had to make a lot of global replacement and such a behavior would greatly speed up the process.
What if you disabled "Focus Editor After Search" in the find-and-replace package settings?
I feel like what you're requesting could be useful for certain workflows perhaps. I'm just not certain that it isn't covered already.
"Focus Editor After Search" seems to work only when searching inside file. When doing global search it is ignored (Atom 1.6.0-beta5).
But that would wokr for me. Though for example for my workflow checkbox in search panel would be easier to use.
sftd is rigth. "Focus Editor After Search" does not work for me too. I have to press tab key three times for Ctrl+Enter to work
If you are doing "global search" then no matter if you commit it using "enter" or find button window with search results gets focus. This makes ctrl + enter shortcut unusable in this case. I am aware that it is more logical in most cases for window with search results get focus (instead of leaving it on search window).
But it would be nice if even after changing focus "ctrl + enter" shortcut would work for "replacing all" search results.