diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index 19ac1463..8be584bb 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -681,6 +681,10 @@ fu! s:PrtInsert(...) let regcont = s:getregs() if regcont < 0 | retu | en en + if type =~# '^r.$' + let regcont = s:regisfilter(type[1]) + let type = 'r' + en unl! s:hstgot let s:act_add = 1 let s:prompt[0] .= type ==# 'w' ? s:crword