You can clone with
HTTPS or Subversion.
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlPMixed'
let g:ctrlp_working_path_mode = 0
rm -rf .cache/ctrlp/
== NO ENTRIES ==
its like a bad smell that wont go away!
I would expect to rebuild the cache according to ctrlp_working_path_mode
and not leave files in the cache outside the 'ctrlp working path'.
I also tried
let g:ctrlp_working_path_mode = 'c'
It's because you're using CtrlPMixed which includes files, buffers, and MRU files. The /etc/hosts entry you see is a MRU entry.
So nothing cleans out a MRU listing aside from physically deleting the cache?
And :CtrlP mode includes buffers as well as files? But CtrlpBuffer is just buffers and CtrlpMixed also includes mrus?
I've been running ctrlp for quite a while and never new normal mode was files+buffers but not mrus. I recommend a doc change
"Run :CtrlP or :CtrlP [starting-directory] to invoke CtrlP in find file mode."
To something like
Run :CtrlP or :CtrlP [starting-directory] to invoke CtrlP in find file mode. (includes buffers)
Thats why I was using mixed mode, I didn't think regular mode included buffers.
No, :CtrlP only shows files.
To clear MRUs, press <F7> while in MRU mode.