-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I escape from a search without causing the macro recording to cancel? #31
Comments
Thank you for using this extension! Yes, there are some ways to use the keyboard to exit the search input box and focus the editor.
Either works for me (I'm using Windows).
However, I believe |
Thanks for the suggestions. My attempted process on Windows was:
I found that the @ext:tshino.kb-macro "Option1 (default)" bindings (Ctrl+Alt+R / Ctrl+Alt+P) this would cancel on the |
Thanks for the details! However, unfortunately, it didn't reproduce for me. But I found a mistake in the process. First of all (and as I noted in the README), step 3 (type in the search text) is not recorded. This is a limitation. So even if the recording is not canceled and finishes properly, the recorded sequence would not include step 3, and it will contain only I think you were expecting to record the sequence like:
But your steps lack important step 1 of the above sequence. I hope this helps. |
In addition, |
Sorry, my steps above were wrong. My final iteration I had copied the desired text to the clipboard so I used CTRL-V in the macro. Perhaps CTRL-V pasting didn't do anything during playback as you state but because the search box retains the last search text already it worked. Thanks! I'll close this question as there is a workaround and the other issue you're creating can track further progress. |
Thank you for creating this!
I often use macros to jump to a line containing some text and then do some action on that line (i.e. insert or delete text). However, when I Ctrl-f to search I cannot exit the search without either using the mouse which isn't recorded or hitting ESC which cancels the recording. Is there a workaround besides remapping this extensions default keys?
The text was updated successfully, but these errors were encountered: