CTRL ignore all gitignore'd files
Taken straight from the docs: https://github.com/ctrlpvim/ctrlp.vim
This commit is contained in:
parent
cc0e8a9907
commit
b8722d782d
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ map <c-b> :CtrlPBuffer<cr>
|
||||||
|
|
||||||
let g:ctrlp_max_height = 20
|
let g:ctrlp_max_height = 20
|
||||||
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'
|
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'
|
||||||
|
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
|
||||||
|
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in a new issue