rking / ag.vim

Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack'
1.74k stars 131 forks source link

No way to case-insensitively search for files #61

Open losingkeys opened 10 years ago

athom commented 10 years ago

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.

losingkeys commented 9 years ago

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.

tplunket commented 8 years ago

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