How about
set errorformat+=%f,%f:%m,%f:%l:%m
command! -nargs=* Bufgrep silent! bufdo! g/<args>/caddexpr expand("%")
. ":" . line(".") . ":" . getline(".")
It does have a problem where it tries to open the first entry
automatically, but it opens the line contents instead of the buffer
name, but it does the right thing otherwise. Hmm, weird.
On 5/31/06, Bernhard Leiner <[EMAIL PROTECTED]> wrote:
Hi!
I'm looking for a good soultion to to search for a keyword in all open buffers.
Using the :bufdo command to search in all buffers basically does what
I want but the output isn't very useable. Using :vimgrep on multiple
_files_ with its output in the quickfix window is much better but
works only on files.
Sombody has an idea?
regards,
bernhard