mileszs / ack.vim

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

Search in .git repository #45

Closed justinuang closed 12 years ago

justinuang commented 12 years ago

It would be great if this had a feature similar to ctrl-p, where you can somehow signal to ack.vim to find the first git/svn repository that the current working directory is in, and then search from that root.

mileszs commented 12 years ago

I highly recommend using @tpope' s vim-fugitive, and that plugin's :Ggrep function in particular, for this sort of thing. I'm not saying it won't ever be a part of ack.vim, I'm just saying there might be a better way to get that right now.

mileszs commented 12 years ago

There are also some Textmate-style plugins that do similar things.