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

Add permanent cache for runtime scripts #615

Open BioBox opened 1 year ago

BioBox commented 1 year ago

I have to wait a few seconds everytime I load the runtime script menu. This is cached afterward, but there should be a more permenant cache on the filesystem that saves all the paths similar to what MRU mode has. Fixes #609 This isn't perfect; it could use more code reuse, but I'm very happy with it.

Unfortunately it doesn't work with the clear cache command. It works for MRU because it's a completely different type from files. If you need to refresh this cache just delete it manually.