Making CtrlP.vim load 100x faster
Felippe Nardi

Well, it’s really Tim Pope you should be thanking. ;)

I’ve been using a remix of this trick for years and have tweaked it a bit since I rarely (never?) open image files with my text editor. Also, I’m a Python user , and those files start to be a bit annoying to look at over time when I practically never want to edit those.

let g:ctrlp_user_command = [‘.git/’, ‘git ls-files -oc — exclude-standard | grep -Ev “(jpg|png|gif|$”’]

Hope this is helpful!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.