rking / ag.vim

Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack'
1.74k stars 131 forks source link

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

Open maciejkowalski opened 11 years ago

maciejkowalski commented 11 years ago

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 commented 11 years ago

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

rking commented 11 years ago

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

I'm not online much, lately.

losingkeys commented 11 years ago

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 commented 10 years ago

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.