On 2009-09-19, Steven Woody wrote:
> Hi,
>
> 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?
After you've typed ":vimgrep /", type Ctrl-R Ctrl-W to insert the
word under the cursor. See
:help c_CTRL-R_CTRL-W
Regards,
Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---