junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.13k stars 39 forks source link

@ only works for the first time #26

Closed lazywei closed 9 years ago

lazywei commented 9 years ago

If I press @ap, the peekaboo window will show. However, after that, the " and @ will fail to work. No window will show.

junegunn commented 9 years ago

Since peekaboo temporarily disables itself during @-replay, it is possible that it fails to reenable itself depending on the content of the register. What was in @a?

junegunn commented 9 years ago

I changed how peekaboo disables itself during @. Please update and let me know if it helps.

lazywei commented 9 years ago

Sorry for the late reply. @ did display the menu. However, it seems it use * register only. That is @ap, @3pwill always paste the content in*`. I'm not sure if this is relevant to this plugin though.

Thanks

junegunn commented 9 years ago

Why do you use @ for that? You should be doing "3p or "ap.

@3p is recognized as @3 (replay the macro in register 3) and p (paste the content in the default register)

lazywei commented 9 years ago

Oh... you're right. I totally misunderstand it. I thought peekaboo rewrite @'s behavior. I think this issue can be closed then. Thanks :-)

-- Chih-Wei (Bert)

2015-05-07 10:59 GMT+08:00 Junegunn Choi notifications@github.com:

Why do you use @ for that? You should be doing "3p or "ap.

@3p is recognized as @3 (replay the macro in register 3) and p (paste the content in the default register)

— Reply to this email directly or view it on GitHub.