-
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
Repeat like key pressed to repeat #8
Comments
I must agree. And its easily implemented. Here is a working patch for ./autoload/clever_f.vim:
|
Hi, I don't see the same patch on github as in the mail I got as a notification of your comment… did you edit it ? Which version is correct ? |
yeah, sry about that. Short after I recognized that the s:previous_map variable already existed. So the shorter version you see here will do. It just disables the memory by overwriting it. |
@cdlm the patch is here: notEvil/clever-f.vim@15af064 🎌 |
@rhysd Would you like to merge this patch back to the mainline? We could also add a new flag to make this behavior optional. |
If you jump to a character x, using
fx
, then bothf
andt
will jump to the next occurrence of x, butt
does the same (i.e. it just repeats the initialfx
jump).IMHO,
f
should do a further jump in a f-ish way, andt
in a t-ish way, independently of whether the initial jump wasfx
ortx
. For instance,fxt
should jump to before the second occurrence of x. Of course, likewise for any permutation of f, F, t, T.The text was updated successfully, but these errors were encountered: