Use long options for when calling ag
for CtrlP plugin
This commit is contained in:
parent
c0317cedb0
commit
113ddba054
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -80,7 +80,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 -Q -l --nocolor --hidden -g "" %s'
|
||||
let g:ctrlp_user_command = 'ag --literal --files-with-matches --nocolor --hidden --filename-pattern "" %s'
|
||||
|
||||
" ag is fast enough that CtrlP doesn't need to cache
|
||||
let g:ctrlp_use_caching = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue