20 lines
630 B
VimL
20 lines
630 B
VimL
let g:ctrlp_working_path_mode = 'ra'
|
|
|
|
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
|
|
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
|
|
|
|
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
|
|
let g:ctrlp_custom_ignore = {
|
|
\ 'dir': '\v[\/]\.(git|hg|svn)$',
|
|
\ 'file': '\v\.(exe|so|dll)$',
|
|
\ 'link': 'some_bad_symbolic_links',
|
|
\ }
|
|
|
|
|
|
" let g:ctrlp_user_command = 'find %s -type f' " MacOSX/Linux
|
|
" let g:ctrlp_user_command = 'dir %s /-n /b /s /a-d' " Windows
|
|
|
|
" Ignore files in .gitignore
|
|
" let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
|
|
let g:ctrlp_show_hidden = 1
|