----- Original Message ----- From: "Christophe Dupre" <[EMAIL PROTECTED]>
To: <vim@vim.org> Sent: Wednesday, March 21, 2007 5:19 AM Subject: Quick search using vimgrep
Hello,
I use the vimgrep command quite a lot to find where functions, or variables are used in different files I normally type something like that: :vimgrep FunctionName *.c ..\Includes\*.h
Perhaps something like this... nmap <F3> :vimgrep <cword> *.c ..\Includes\*.h<CR> Brett Stahlman
That works fine for me but typing the same line whenever I'm looking for a different word can be quite time consuming. Is there something I can do so that when the cursor is over a word I could just type a key, and then the vimgrep command would run?
Thanks,
Christophe D.