On Sat, Sep 19, 2009 at 7:44 PM, John Beckett <[email protected]>wrote:
> > Steven Woody wrote: > > If what I want to search by vimgrep is a word that is > > currently under the cursor. How could I save myself from > > typing again the word again? > > That point is covered here: > http://vim.wikia.com/wiki/Find_in_files_within_Vim > > John > > I see that is <cword>, but while I can do ':vimgrep /\<my_word\>/ **/*.c, but the ':vimgrep /\<<cword>\>/ **.c' failed, it just found nothing. What's wrong with my typing? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
