-
Notifications
You must be signed in to change notification settings - Fork 28
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
Limit f/F/t/T scope to current line for macros and :normal
#14
Comments
So let me get this straight, you want to limit the scope (if enabled) of f/F/t/T only when recording macros? A global switch to limit it to the current line all the time tho sounds like something I'd use. So just the cool highlighting of letters, although I would ideally prefer a separate plugin for that in order to provide minimalism and modularity. |
I would pref an option over a prefix. I find prefixes a bit awkward because they're another key combo to remember and maybe avoid conflicts. I also generally want my macros to be pessimistic, they can easily over step their intentions. Fantastic plugin. Really top tier. |
Yeah, me too.
What do you mean?
What do you mean? |
Obviously, the cleanest solution is exposing a But I'm still curious, having the aforementioned option exposed, if one would like to have this feature, how could we trigger it only for macro recording/execution? (And the same question goes for If we'd have a workaround that we can put into the readme or the wiki, I would add this option right now... But otherwise, a different API might make that much easier, so I'm a bit hesitant to do it. |
This should definitely be an option at least, even for 2-character search maybe. I wonder what would be the best solution interface-wise. Should we add an
opts
flag, something likelimit_scope_to_current_line_for_macros
? Or a prefix key that switches off multiline search on demand? Any ideas/preferences?Also, is there any hack out there that makes it possible to detect whether we are currently executing a
normal
command, and not actually typing it live (like we can check macro playback withreg_executing
)?The text was updated successfully, but these errors were encountered: