junegunn / vim-peekaboo

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

Looking for a suggestion when running a macro on a bunch of lines #24

Closed shmup closed 9 years ago

shmup commented 9 years ago

I love using this plug-in, but sometimes I might be doing a thing like:

:'<,'>normal @q

And so as this runs on every line I have to see the peekaboo panel toggle open and closed every time it executes the @q.

Do you have any suggestions for how you might handle a thing like this? I'm thinking maybe I should just have a function that I can call to toggle peekaboo on/off.

Not sure, though.

junegunn commented 9 years ago

Does normal! @q (normal with exclamation mark) help?

shmup commented 9 years ago

Ha! Yes that is perfect and I forgot about that.

Thanks. :}

junegunn commented 9 years ago

:)

Also, setting g:peekaboo_delay might help in some cases.