On Sun, Sep 20, 2009 at 1:08 PM, John Beckett <[email protected]>wrote:

>
> 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
>
>
>
Thanks,  I just thought I've met 'cw' somewhere, now it's clear.


> >
>


-- 
Life is the only flaw in an otherwise perfect nonexistence
   -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 ([email protected])

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to