mileszs / ack.vim

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

~/.ackrc ignored #78

Closed stabenfeldt closed 10 years ago

stabenfeldt commented 11 years ago

Searching with :Ack pattern takes ages compared to searching from the terminal $ ack pattern

How can I make ack-vim ignore the files and directories I´ve specified in my ~/.ackrc ?

Cheers, martins

AndrewRayCode commented 11 years ago

It works for me. Suggest closing as non-issue.

rowanu commented 11 years ago

Agree with @DelvarWorld - this is an issue with your version/setup of ack, not an ack.vim issue.

Try upgrading to ack 2.0. It supports directory-specific .ackrc files, and I can vouch that it works properly with ack.vim.

pyrho commented 10 years ago

Works for me too on ubuntu with ack 2.04.

stabenfeldt commented 10 years ago

Thanks, I'll give that a go! :+1:

latortuga commented 10 years ago

I also have this issue, Ubuntu 14.04, ack 2.12, vim 7.4, ack.vim up to date. I have both a global and a directory-specific .ackrc and :Ack pattern is returning results from ignored directories (e.g. huge log files) while ack pattern from the command line is not. Here's a snippet of my .ackrc:

--ignore-dir=log
--ignore-dir=doc
--ignore-dir=tmp
--ignore-dir=public/assets
--ignore-file=is:.tags
--ignore-file=is:.keep
--color
--follow
--group
--sort-files
milushov commented 8 years ago

same issue

@latortuga did u find solution?

milushov commented 8 years ago

ow, I found issue by myself, it was same as here lol