use-selection workflow is disruptive, unwieldy #332
Comments
use-selection-as-find-pattern still does what it says on the tin, but much more efficiently for keyboard users. Fixes atom#332.
@clhynfield I'm able to do this without showing the panel. Here's a gif: Does that help? |
use-selection-as-find-pattern still does what it says on the tin, but much more efficiently for keyboard users. Fixes atom#332.
Thanks, @izuzak, that does help a bit—I didn't know you could find all occurrences without setting the find pattern. Still, that doesn't work for find-next or find-previous, nor does it add to the find history. Compare OS X's behavior, in which ⌘E pulls selected text into the global find pattern, without bringing up a find view, and a subsequent ⌘G, even in a different app, will find the next occurrence of that find pattern. |
@clhynfield You're right. I was just pointing out that there's a better way to do what you did in the GIFs you recorded. Also, clarifying what exactly is possible and what exactly isn't possible or how exactly it could be improved is always helpful in pushing issues forward. Some users reading the issue don't have the same context as you do and might not know what you said about OS X or other editors in your recent comment. Sharing as many details as possible in the original issue and doing so in a clear way is always helpful. 💙 |
this is really annoying, I am used to the behavior @clhynfield demonstrated and I find the actual atom behavior really disturbing, the example was maybe not the best but here is what I use cmd+e for:
With Atom currently this becomes: cmd+e,escape,cmd+g, type text. Edit: fixed shortcut |
I'm looking for the same thing. In Sublime Text I often used ctrl+e, ctrl+g to find the next occurrence - e.g. to skip from a function call to it's definition and back. In Atom I'm finding I always have to press escape to close the find dialog - whereas I've never needed to modify the find pattern at that point, so I don't really need it open. I was hoping for a way to remap ctrl+e to set the find pattern without opening the find dialog, but I can't see that option. (It doesn't have to be the default behaviour, but an option to remap it would be nice.) Thanks! |
@davejamesmiller are you commenting on the right issue? You should be able to just hit cmd-g and focus the next occurrence in the editor. |
@benogle I believe I am. I don't have a Mac, but it looks like |
So the issue is just that the find panel is open then? The editor is focused after hitting |
Yes, that's correct. |
so... any chance we can get an option to set the behavior we want ? I don't care which is the default just please let us choose. |
A year has passed and this is still an issue – and one that makes me thinking of switching back daily. It hurts my flow badly. @clhynfield's fix looks simple enough, and wrapping that into an option is a good idea. Please consider this again. |
for me I just stay with sublime text 2 for now, I have atom installed aside but almost does not use it. |
since this issue is not going anywhere I tried another strategy but failed: how can I run my own fork of a core atom package ? I tried |
@schmurfy have you tried launching atom with |
I would prefer a way which does not require using dev mode. |
There's a long standing issue where cmd-e shows the find panel where it shouldn't: atom#332 This pull request prevents the find panel from showing. Test Plan: 1) Click on `new` 2) Press `cmd-e`, note that there is no visual feedback 3) Press `cmd-g` multiple times to go through occurrences See the behavior in Sublime: ![](http://g.recordit.co/Iwt3rimsQM.gif) In Atom with this pull request: ![](http://g.recordit.co/HMtN1TiJGr.gif) It even works the same way in Chrome! ![](http://g.recordit.co/teDy4kCMYi.gif)
Just submitted a pull request to fix it: #796 |
@vjeux thanks ! I hope it gets merge, it is still an eveyday annoyance for me... |
Using keyboard shortcuts in other editors to set Find pattern, select next/all, and replace is smooth and efficient — select text, ⌘E, ⌘⌃G, and type to replace:
In Atom, use-selection-as-find-pattern brings up the find panel, requiring the user to dismiss it or switch focus back to the editor before using select-next or select-all keyboard shortcuts:
Showing the panel is right for ⌘F, and grabbing the current selection as the find pattern on show is a handy default action, but for a sleek use-selection and select next/all workflow, there's got to be a smoother way.
The text was updated successfully, but these errors were encountered: