ag.vim
ag.vim copied to clipboard
No way to case-insensitively search for files
hi @losingkeys
I also have problems with single word search, which seems share the some solution with this issue.
I did a workaround on my local, in your case you can wrap an -i options.

But I know this solution is too dirty. So if someone solve this issue, please notify me, thanks.
Yeah, maybe it's a better idea, in addition to :AgFile, to detect the -g flag and change g:agformat accordingly. That way you could use your normal g:agprg settings with :Ag -g filename.
I forget why :AgFile -i doesn't work.
I'm not sure if there should be another option for this.
You can also just add the parameters to your call. E.g. :Ag -w "Full word" or :Ag -s lowercase.