ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.58k stars 259 forks source link

on_type extension function #494

Closed drozdowsky closed 5 years ago

drozdowsky commented 5 years ago

Is it possible to write extension that doesn't show anything on init but it starts executing something on type? From what I can see most extensions cache everything on init and then the accept narrows down the search. I for example want to use grep -r in PWD and I want it to be lazy.

Thanks

tacahiroy commented 5 years ago

AFAIK, there's no API to implement that kind of feature unfortunately.

drozdowsky commented 5 years ago

I looked into code and I think you are right, lets close this one