vimctrlp

ViM + CtrlP: Persist the cache between ViM sessions


While ViM is running, CtrlP's cache file exists. However, when I quit ViM, CtrlP's cache file is deleted. How can the cache file be persisted between sessions?


Solution

  • If you wish for your cache files to persist between sessions, you can

    let g:ctrlp_clear_cache_on_exit = 0
    

    See help.