Steven Woody wrote:
>> :map <F4> :execute "vimgrep /" . expand("<cword>") .
>> "/j *.c"<Bar>cw<CR>
>
> Thanks for the mapping. The only thing I don't understand is
> the "<Bar>cw", what does it mean and for? Thanks.
The <Bar> means '|' and it delimits another command.
That command is :cw (:help :cwindow) which displays the results.
The 'j' in '/j' means you do NOT jump to the first hit.
John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---