You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks to me like there is a problem when using iedit-state when words are space-delimited (ie, most, but not all of the time).
Specifically, in these cases, the evil-change and evil-delete commands (on keys c and d) drop out of iedit altogether, so my changes are applied at the current cursor position only, and all of the iedit highlighting disappears (although the cursor remains red, so iedit-state still thinks it is active).
Here is an example, showing both working and non-working behaviour. My initial buffer (in fundamental mode) contains just:
foobar.qux
foobar.qux
I move to the "b" in the first foobar, and then hit SPC s e d w. In this case, everything works fine and I end up with:
foo.qux
foo.qux
...which is what I want. On the other hand, if my starting buffer is just one character different, and I replace that first period with a space, viz:
foobar qux
foobar.qux
...and then, once again I hit SPC s e d w then I get dumped out of iedit (highlights disappear) and my buffer looks like this:
fooqux
foobar.qux
I get essentially the same problem if I use c w instead of d w. It looks like a bug to me, but not sure if I'm the only person seeing this behaviour?
This issue is identical to syl20bnr/spacemacs#3193. I was advised to add it to both repos by @TheBB.
It looks to me like there is a problem when using iedit-state when words are space-delimited (ie, most, but not all of the time).
Specifically, in these cases, the evil-change and evil-delete commands (on keys c and d) drop out of iedit altogether, so my changes are applied at the current cursor position only, and all of the iedit highlighting disappears (although the cursor remains red, so iedit-state still thinks it is active).
Here is an example, showing both working and non-working behaviour. My initial buffer (in fundamental mode) contains just:
I move to the "b" in the first foobar, and then hit SPC s e d w. In this case, everything works fine and I end up with:
...which is what I want. On the other hand, if my starting buffer is just one character different, and I replace that first period with a space, viz:
...and then, once again I hit SPC s e d w then I get dumped out of iedit (highlights disappear) and my buffer looks like this:
I get essentially the same problem if I use c w instead of d w. It looks like a bug to me, but not sure if I'm the only person seeing this behaviour?
My spacemacs setup:
System Info
The text was updated successfully, but these errors were encountered: