junegunn / vim-peekaboo

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

":'<'>normal q@" hangs #36

Closed ghost closed 7 years ago

ghost commented 8 years ago
  1. Record a simple macro: qq0fe~q
  2. Visually select a few lines: Vjjj
  3. Play back the macro on the selected lines: :'<,'>normal @q

Vim version 7.4.692 hangs.

junegunn commented 8 years ago

Hmm, thanks for the report. Not sure why this happens. In this particular case using normal! instead of normal fixes the problem, but it's just a workaround and I'll see if there's a better way to handle this.

markwu commented 8 years ago

I have the same issue, but using normal! fix this problem. Thanks for the tip.

kyounger commented 8 years ago

I can confirm this bug and the normal! fixes it.

ghost commented 8 years ago

Same, but normal! is a workaround, not a fix. I notice that it doesn't just hang, but uses 100% CPU.