Mercurial > dotfiles
comparison vim/vimrc @ 233:073e7e47dbeb
Change CtrlP ignored dirs.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 19 Nov 2014 20:23:17 -0800 |
parents | 738c1a3ad786 |
children | ceb3f44fa2fc |
comparison
equal
deleted
inserted
replaced
231:6d520cf84974 | 233:073e7e47dbeb |
---|---|
222 " Ctrl-P should manage the working directory. | 222 " Ctrl-P should manage the working directory. |
223 let g:ctrlp_working_path_mode = 'ra' | 223 let g:ctrlp_working_path_mode = 'ra' |
224 | 224 |
225 " Ctrl-P should however ignore some stuff. | 225 " Ctrl-P should however ignore some stuff. |
226 let g:ctrlp_custom_ignore = { | 226 let g:ctrlp_custom_ignore = { |
227 \ 'dir': '\v[\/](\.git|\.hg|\.svn|venv|build|static|node_modules)$' | 227 \ 'dir': '\v[\/](\.git|\.hg|\.svn|venv|static|node_modules|_cache|_counter)$' |
228 \ } | 228 \ } |
229 | 229 |
230 " Make Ctrl-P cache stuff in our temp directory. | 230 " Make Ctrl-P cache stuff in our temp directory. |
231 let g:ctrlp_cache_dir = s:vim_home.'/cache' | 231 let g:ctrlp_cache_dir = s:vim_home.'/cache' |
232 | 232 |