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

Open
jvmcarneiro opened this Issue Dec 14, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@jvmcarneiro

jvmcarneiro commented Dec 14, 2017

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?

@ninrod

This comment has been minimized.

Show comment
Hide comment
@ninrod

ninrod Dec 14, 2017

Member

I suspect this: emacs-evil/evil#9. Summoning @justbur who just did touch some lines regarding the repeatition support.

Member

ninrod commented Dec 14, 2017

I suspect this: emacs-evil/evil#9. Summoning @justbur who just did touch some lines regarding the repeatition support.

@justbur

This comment has been minimized.

Show comment
Hide comment
@justbur

justbur Dec 14, 2017

Contributor

I didn't change anything that would affect ysiw". This is a different problem. My changes only affected surrounding with functions or tags.

By the way, in general the way evil-surround implements repeat (especially for ys) is pretty brittle and probably should be rewritten.

Contributor

justbur commented Dec 14, 2017

I didn't change anything that would affect ysiw". This is a different problem. My changes only affected surrounding with functions or tags.

By the way, in general the way evil-surround implements repeat (especially for ys) is pretty brittle and probably should be rewritten.

@ninrod

This comment has been minimized.

Show comment
Hide comment
@ninrod

ninrod Dec 14, 2017

Member

@justbur, maybe related to emacs-evil/evil#9?

yeah. I wish I had the lisp and evil knowledge to do it.

Member

ninrod commented Dec 14, 2017

@justbur, maybe related to emacs-evil/evil#9?

yeah. I wish I had the lisp and evil knowledge to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment