Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add new default map #22

Closed
andersoncustodio opened this issue Oct 30, 2011 · 3 comments
Closed

Suggestion: Add new default map #22

andersoncustodio opened this issue Oct 30, 2011 · 3 comments

Comments

@andersoncustodio
Copy link

map <silent><leader><C-p> :ClearCtrlPCache<CR>:CtrlP<CR>

@kien
Copy link
Owner

kien commented Oct 30, 2011

That map will clear all caches every time CtrlP starts. If you want that behavior, you can simply put this into your vimrc:

let g:ctrlp_use_caching = 0

It's practically the same.

@andersoncustodio
Copy link
Author

It would be to facilitate clearing the cache at certain times.

I do not say to replace it, this uses the "leader" before "C-p"

But it's just a suggestion. :)

@kien
Copy link
Owner

kien commented Oct 30, 2011

You can use <F5> inside CtrlP to clear the cache at anytime, so I think having an extra mapping to do basically the same thing is not necessary. Thanks for the suggestion, though!

@kien kien closed this as completed Oct 30, 2011
redondos pushed a commit to redondos/ctrlp.vim that referenced this issue Aug 8, 2014
Remove custom_ancestors since root_markers does the same thing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants