One thing that I like to do from time to time is do a quick search on the directory I am working on and find all the references to a specific string, specially when debugging code from some one else. Is it still not possible for VIM to do such search? Is there an alternative to do it directly with plain terminal?
ATM (since I’m still learning VIM) I do the search in TextMate and find the string that way.
You can use the vim command :vimgrep. This will search for a pattern in the specified files and puts the results in the quickfix window which you can then use to jump to a specific match. So for example to search for
foorecursively in every.phpfile in your current directory you would doAnother option is the command :grep which actually calls the grep program (or whatever
grepprgis set to). It also puts the results in the quickfix window for easy navigation. However this requires that you havegrepon your system.