I've been a long time Vim user, but the searching in a project is the missing part in Vim compare to TextMate. I used to switch to a command line using 'grep' or 'rak'(a ruby gem). Finally there is good tip how to integrate it into vim: Ack plugin for Vim
Here is how I do it on my Mac:
1. Install File-Next
2. Install ack
3. Edit your vimrc, add:
set grepprg=ack
4. Create a ack.vim in your .vim/plugin/
Fire up your vim:
:Ack text_to_search_in_current_path
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment