ctrlpvim / ctrlp.vim

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

Is there anyway to directly pass search string to custom command each time search file? #580

Closed benyaminl closed 2 years ago

benyaminl commented 2 years ago

Hello, I wonder is that possible to make ctrlp search file directly from the output shown by the output of customer command each time we type? Thank you

tacahiroy commented 2 years ago

You mean you want to filter out the results of an arbitrary command you give each time against CtrlP, right? If so that is not supported now.

benyaminl commented 2 years ago

You mean you want to filter out the results of an arbitrary command you give each time against CtrlP, right? If so that is not supported now.

Yes. Oh It's not supported now. Ok. Thank you, does it mean I need to close this issue?

tacahiroy commented 2 years ago

You can close this if it's clear now. But I'm curious about your use cases if ctrlp had this functionality.

benyaminl commented 2 years ago

You can close this if it's clear now. But I'm curious about your use cases if ctrlp had this functionality.

Well you can use using locate on linux or everything from voidtools on windows. It's much faster than globpath and fuzzy especially if the file list is very large, probably 100k file list.

mattn commented 2 years ago

https://github.com/mattn/ctrlp-everything

benyaminl commented 2 years ago

https://github.com/mattn/ctrlp-everything

Is it a complement to this plugin or it's a seperate plugin? Please enlight me. Thank you

Seem it's a compliment, but I tried to open and type on everything tab, no file list shown, is there anything I need to configure? Thanks

image