Am Thu, 10 Nov 2011 11:19:19 -0500 schrieb York Zhao <[email protected]>:
> > 1. "i" > > 2. Type something, e.g., type foo > > 3. Esc > > 4. Press . will repeat the insertion of "foo" which is good. > > 5. "v" to enter visual state, then "Esc" to exit. > > 6. Press "." and I expect "foo" to be inserted but nothing happened. > > Here is my fix to this problem but I'm not sure whether it will break > anything or not, especially because Frank has just done some work > related to repeating and visual state stuff. > > diff --git a/evil-core.el b/evil-core.el > index 8884139..844cc78 100644 > --- a/evil-core.el > +++ b/evil-core.el > @@ -174,6 +174,7 @@ This is the state the buffer came up in." > (&optional buffer message) > "Change the state of BUFFER to its previous state." > :keep-visual t > + :repeat abort > (interactive) > (with-current-buffer (or buffer (current-buffer)) > (evil-change-state (or evil-previous-state evil-default-state > 'normal) Thanks a lot, this seems to be a reasonable solution. I added it in aac1f78. Frank _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
