5

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?

nickh
  • 4,721
  • 2
  • 29
  • 31
  • [Reading help](https://github.com/kien/ctrlp.vim/blob/master/doc/ctrlp.txt#L216) suggested to `let g:ctrlp_clear_cache_on_exit = 0`. Does it work? – ryuichiro Nov 11 '15 at 21:15

1 Answers1

12

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

let g:ctrlp_clear_cache_on_exit = 0

See help.

ryuichiro
  • 3,765
  • 1
  • 16
  • 21