osyo-manga/vim-over

Using <c-r>(register) results in default yank register

jwmann opened this issue · 1 comments

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

  1. Set any text inside default yank register Vy
  2. Set any text inside a yank register V"ay
    (make sure it is different than default yank text)
  3. Initiate :OverCommandLine
  4. Perform a call to previous register <c-r>a

Thanks.
I fixed it.