Using <c-r>(register) results in default yank register
jwmann opened this issue · 1 comments
jwmann commented
Using <c-r>a
within the search and replace uses the default yank register rather than the (in this case) "a
register, regardless if a
is set or not.
However using the same technique in the regular search and replace works as expected.
Recreating the issue
- Set any text inside default yank register
Vy
- Set any text inside a yank register
V"ay
(make sure it is different than default yank text) - Initiate
:OverCommandLine
- Perform a call to previous register
<c-r>a
osyo-manga commented
Thanks.
I fixed it.