On Wed, May 27, 2009 at 02:18:21PM -0400, Chris Mueller wrote:
> Hola.
> 
> Currently, I use...
> 
> "View last search results in their own window (Cur file)
> 
> nmap <leader>w :vimgrep //j %<CR>:copen<CR><CR>
> 
> to open up a quickfix window of my last searched term in my quickfix
> window.  I usually have a number of buffers open; is it possible to do the
> same behavior, but in all open buffers?  (I'd like to map to <leader>W).  It
> seems at least once a day I want to do this; but I have not come up with an
> easy method yet.
> 
> Thanks,
>    Chris

I wrote a plugin called buffergrep to help with this:

http://www.vim.org/scripts/script.php?script_id=2255

It works on Buffers, Argumetns, Windows and Tabpages.  Shoot me an
email if the aforementioned vim.org page doesn't explain it well
enough for you.

-- 
Erik Falor
Registered Linux User #445632 http://counter.li.org

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

Reply via email to