For searching for code, I've typically used find/grep. I'd heard of ack before, but hadn't really tried it out.
But there's been an alternative to ack for the past several years that I just found out about, the Silver Searcher (ag).
It's brew installable and really fast (5-10x faster than ack according to its site on 2015-11-11).
The author of Silver Searcher is Geoff Greer who's the CEO/Co-founder of Floobits, which also looks like a pretty cool tool for remote work if you want to share Sublime and IDea. (Note: for vim/emacs or anything in terminal sessions, tmate is a great option for remote pairing.)