jaredpar/VsVim — Issue #763: substitution with last used search pattern searches for `@` ...
Author: MartinLemburg
Created: 2012-02-13 15:13:46+00:00
State: open

Following example with VsVim 1.2 (wish: substituting `(\*ppXMLDom)` in method body selected with `%`):

1. search for `(\*ppXMLDom)`
2. selected the method body with `%`
3. using `:'<,'>s//pXMLDom`

The error message is `Pattern not found: @`.

Afterwards the search pattern is really `@`.

I tested the behavior of VsVim using `:%s/...` instead of the applying the substitution to the visual selection, but it's the same.
No, its much worse:

1. search for `(\*ppXMLDom)`
2. using `:%s//pXMLDom/gc`
3. status bar message is `replace with pXMLDom (y/n/a/q/l/^E/^Y)?`, but the pattern is in reality already `@`

It's really a pity to have in this release such a bug, preventing normal work patterns!

Please fix as quick as possible!