ag.vim icon indicating copy to clipboard operation
ag.vim copied to clipboard

Multiple search results, without overwriting old ones (multiple tabs)

Open maciejkowalski opened this issue 12 years ago • 4 comments

Hi!

Is there a possibility to view multiple search results without overwriting old ones (different tabs)?

eg I search :Ag "float: right;" I see search results

I open new tab: next I type :Ag sentences_hb And got next search results

But my old ones (for float: right) results are gone (in previous tab).

Is it possible to implement that?

maciejkowalski avatar Jun 13 '13 11:06 maciejkowalski

C'mon. Bump. (edited and added more info)

maciejkowalski avatar Jul 06 '13 10:07 maciejkowalski

Have you tinkered with a patch (or proof of concept) to make this work?

I'm not online much, lately.

rking avatar Jul 18 '13 15:07 rking

Wouldn't this be as simple as using the location-list instead of the (default) error list? Also, :help quickfix-error-lists seems like it might be useful here.

losingkeys avatar Sep 20 '13 19:09 losingkeys

Hmm... it looks like there are multiple lists... but we'd have to remember which windows corresponded to each list and do something like :colder when switching windows, and that would only support up to 10 different error lists.

losingkeys avatar Dec 06 '13 20:12 losingkeys