When I do a Gsearch, Gsearch asks me to Search in files: *. If I put any filename extension here, I invariably get the error Error: Quickfix list is empty (even if there are definitely hits in the corresponding files). If I just leave it blank and search *, then it takes forever because it doesn't respect my .gitignore and thus searches all my log files (see this issue). I'm using Ag as the executable, like so:
" .vimrc
set grepprg=ag
let g:grep_cmd_opts = '--line-numbers --noheading'
Ag works correctly from the command line doing the same task.
When I do a Gsearch, Gsearch asks me to
Search in files: *. If I put any filename extension here, I invariably get the errorError: Quickfix list is empty(even if there are definitely hits in the corresponding files). If I just leave it blank and search*, then it takes forever because it doesn't respect my.gitignoreand thus searches all my log files (see this issue). I'm usingAgas the executable, like so:Agworks correctly from the command line doing the same task.