ag.vim icon indicating copy to clipboard operation
ag.vim copied to clipboard

No way to case-insensitively search for files

Open losingkeys opened this issue 11 years ago • 3 comments

losingkeys avatar Jun 13 '14 00:06 losingkeys

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.

athom avatar Sep 03 '14 10:09 athom

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.

losingkeys avatar Dec 20 '14 23:12 losingkeys

You can also just add the parameters to your call. E.g. :Ag -w "Full word" or :Ag -s lowercase.

tplunket avatar May 26 '16 22:05 tplunket