7

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?

rodrigoalvesvieira
  • 7,895
  • 15
  • 63
  • 84
  • This is pretty much a duplicate. Check http://stackoverflow.com/q/5290617/557306 and its answers. – sidyll Apr 27 '11 at 23:58

6 Answers6

6

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.

romainl
  • 186,200
  • 21
  • 280
  • 313
6

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.

Dennis Hostetler
  • 614
  • 7
  • 10
4

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.

Bill Turner
  • 3,695
  • 1
  • 20
  • 26
2

I have not used TextMate, but going through their manual, I believe one of these plugins is what you're looking for

I personally use NERD tree and Fuzzy finder and they're both phenomenal! Do give them a try.

abcd
  • 41,765
  • 7
  • 81
  • 98
2

You could try Waldo.

ppcano
  • 2,831
  • 1
  • 24
  • 19
1

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.

datentyp
  • 1,371
  • 12
  • 9