@
jerommix 缓存我是用到了 我是想排除一些目录不进入检索的缓存.
现在写的就很蛋疼。。
" plugin - ctrlp {{{
let g:ctrlp_use_caching = 1
let g:ctrlp_clear_cache_on_exit = 0
let g:ctrlp_cache_dir = $HOME.'/.vim/tmp/cache/ctrlp'
let g:ctrlp_show_hidden = 0
let g:ctrlp_lazy_update = 1
let g:ctrlp_open_new_file = 't'
" 过滤 目录
set wildignore+=*/Downloads/*,*/apps/*,*/Books/*,*/cenv/*,*/pypy/*,*/ln/*,*/repos/*,*/VirtualBox\ VMs/*,*/Video/*,
\*/Backup/*,*/themes/*,*/home/fonts/*,*/home/config/*,*/4win7/*
"*/home/dotvim/*
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/]\.(git|hg|svn)$',
\ 'file': '\v\.(exe|so|dll|tar|bz2|7z|rar|zip|pdf|epub|mobi|chm|swp|pyc|gz|iso|mov|avi|mkv|flv|ogv|m4v|mp4|ass|srt|torrent|vdi|jpg|gif|png|ico|tdl|xmind|db|ttf|otf|egg|jar|nfo|frp|sublime-package)$',
\ }
"}}}