-
Notifications
You must be signed in to change notification settings - Fork 44
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
f and t in macros #22
Comments
Hi, @nathanbraun Sorry for the delay 💦 I tried |
6 years later I can confirm it does not work well with macros - if you use f 2x in row. eg:
We have cursor on beginning of line and macro is: go forward to second quote, and then paste text in there. But we get no result at all. Macro is: f'fp |
@JoseConseco Would you explain your sequence with what you typed? I want to reproduce exactly the same issue. My understanding is:
Is this correct? |
Yes see below - first I record qq macro with - f'f action. Then I try to re-run it with @q PasteF.mp4Cursor goes to completely wrong place - it goes bottom line at the end of video - after running the macro. In any case I switched to vim-sneak so if you are not longer working on developing this plugin then that is ok. |
I can also confirm that there are instances where clever-f does not work with macros correctly. It'd be fine for me if clever-f is disabled during macro recording / replay. |
There might be a solution in this comment thread: ggandor/lightspeed.nvim#7 |
For reference to whoever has the same issue, this is what I use which works just fine. (Analog to the issue of lightspeed.)
|
It doesn't look like f and t work in user recorded macros, example:
qqfaq
would record a macro that moves to the next 'a' in a line. If I do that, then move to another line and call it via:
@q
nothing happens. Is this something that could be added? Great plugin, thanks!
The text was updated successfully, but these errors were encountered: