mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

How to do the equivalent of ack -g directory | ack -x foo #117

Closed johnkchow closed 10 years ago

johnkchow commented 10 years ago

I recently updated Ack and ack.vim, and I realize that the -G option was taken out of ack 2.0. This is probably a dumb question, but I was wondering how do I search for a pattern within files with filenames matching a regex using the vim plugin?

kassio commented 10 years ago

You could do something like :Ack term $(ack -g folder_patter)

johnkchow commented 10 years ago

Thanks a lot Kassio! I knew there'd be an elegant solution.

On Tue, Apr 8, 2014 at 12:15 PM, Kassio Borges notifications@github.comwrote:

Closed #117 https://github.com/mileszs/ack.vim/issues/117.

Reply to this email directly or view it on GitHubhttps://github.com/mileszs/ack.vim/issues/117 .