junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.15k stars 38 forks source link

How to map a key to make CTRL-R also work in command mode? #90

Closed vbd closed 1 month ago

vbd commented 2 months ago

A mapping for CTRL-R like in insert mode but for command mode.

vbd commented 1 month ago

I tested cnoremap <silent> <Plug>(peekaboo) :<c-u>call peekaboo#aboo()<cr> and cnoremap <silent> <Plug>(peekaboo) <c-\><c-o>:<c-u>call peekaboo#aboo()<cr> but both didn't work.