ctrlp-funky icon indicating copy to clipboard operation
ctrlp-funky copied to clipboard

Ignore `g:ctrlp_default_input`

Open dangh opened this issue 5 years ago • 2 comments

Hello,

g:ctrlp_default_input prefilled the input with current file path, which useful when using with CtrlP itself, but make no sense in ctrl-funky

Is there a way to disable it within ctrlp-funky only?

dangh avatar Mar 15 '20 08:03 dangh

ah, yes. The value for that variable is put to the ctrlp buffer by ctrlp if it's set. Although I haven't checked any code yet, this behaviour can be prevented by using autocmd I think. I will check the code later.

tacahiroy avatar Mar 18 '20 08:03 tacahiroy

Unfortunately, there is no workaround for this as I've checked source code for ctrlp.vim. The only way to achieve this is that changing ctrlp.vim itself little bit. I'll try to make the patch for ctrlp.vim sometime later.

tacahiroy avatar Mar 18 '20 15:03 tacahiroy