I was using TextMate now I am using MacVim, the only thing I miss from TextMate is the "Find in Project" functionality, is there any Vim plugin providing this functionality?
-
This is pretty much a duplicate. Check http://stackoverflow.com/q/5290617/557306 and its answers. – sidyll Apr 27 '11 at 23:58
6 Answers
I think Project.vim lets you search in its "project" but I never really liked the idea of having several files from different parts of my filesystem magically grouped in a virtual project.
If — like me — all the files of your project happen to be in the same "real" folder Ack.vim and EasyGrep.vim both work very well.
LustyExplorer is also very good for searching in buffers.

- 186,200
- 21
- 280
- 313
I think EasyGrep might do most of what you are looking for. It does a extension sensitive search of the current directory on down.
I use it a lot for finding things in projects.

- 614
- 7
- 10
I've been using ack.vim to do this.
You may need to install ack beforehand unless you already have it installed. There are installation instructions on the vim-scripts page, but here's what I did (I don't use macports):
curl http://betterthangrep.com/ack-standalone > /tmp/ack
sudo mv /tmp/ack /usr/local/bin/ack
sudo chmod 0755 /usr/local/bin/ack
Which I have in a setup file for my vim configs here.

- 3,695
- 1
- 20
- 26
-
Wow, this looks very promising! Can we hope for the replace functionality as well? – mxgrn Nov 28 '11 at 12:25
-
Ask for this feature request on github. But i think that is not the project intention. – ppcano Nov 28 '11 at 15:31
If you like fuzzyfinder.vim you might want to have a look at Command-T as well.
The Command-T plug-in provides an extremely fast, intuitive mechanism for opening files and buffers with a minimal number of keystrokes. It's named "Command-T" because it is inspired by the "Go to File" window bound to Command-T in TextMate.
Here you can view some screencasts with demos of the plugin.

- 1,371
- 12
- 9