From 113ddba054a0cfd7b786c1dc646a7ac9ac8ce561 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Sun, 5 Nov 2017 15:32:05 -0500 Subject: [PATCH] Use long options for when calling `ag` for CtrlP plugin --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 2dae0ae..69e5d04 100644 --- a/vimrc +++ b/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