ViM + CtrlP: Persist the cache between ViM sessions
Asked Answered
Z

1

6

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?

Zobe answered 11/11, 2015 at 20:23 Comment(1)
Reading help suggested to let g:ctrlp_clear_cache_on_exit = 0. Does it work?Bonnice
B
13

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

let g:ctrlp_clear_cache_on_exit = 0

See help.

Bonnice answered 12/11, 2015 at 6:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.