-
Notifications
You must be signed in to change notification settings - Fork 60
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't dot repeat when surrounding with counted movements #133
Comments
I suspect this: emacs-evil/evil#9. Summoning @justbur who just did touch some lines regarding the repeatition support. |
I didn't change anything that would affect By the way, in general the way evil-surround implements repeat (especially for |
@justbur, maybe related to emacs-evil/evil#9? yeah. I wish I had the lisp and evil knowledge to do it. |
This patch makes repeat work with counted motion: But I'm not sure if it's the right way to fix this issue. |
thank you @dsdshcym. Do you want to fill out a PR? You could include a test to verify that the behaviour is correctly implemented. I'll try your patch locally, anyway. Thanks again. |
When I surround with a count like
ys2w"
and try to repeat it with.
, it does so as if I didn't input any count (ysw"
).For example:
Using
ys2w"
on a text fragment like-word
yields"-word"
;Dot repeating it on another fragment
-another
yields"-"another
.Am I missing something? Is this expected behaviour?
The text was updated successfully, but these errors were encountered: