diff --git a/agignore b/agignore index 2243475..64b0bcb 100644 --- a/agignore +++ b/agignore @@ -1,3 +1,4 @@ log tags tmp +.git/ diff --git a/vimrc b/vimrc index 8ef2669..0e4f7ee 100644 --- a/vimrc +++ b/vimrc @@ -68,7 +68,7 @@ if executable('ag') set grepprg=ag\ --nogroup\ --nocolor " Use ag in CtrlP for listing files. Lightning fast and respects .gitignore - let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' + let g:ctrlp_user_command = 'ag %s -l --nocolor --hidden -g ""' " ag is fast enough that CtrlP doesn't need to cache let g:ctrlp_use_caching = 0