gabesoft / vim-ags

Silver searcher plugin for vim
183 stars 12 forks source link

Optionally populate location/quickfix list #24

Open blueyed opened 8 years ago

blueyed commented 8 years ago

While there is an edit mode already (awesome!), it might still be useful to have the results in the location or quickfix list.

It was mentioned in https://github.com/gabesoft/vim-ags/issues/7#issuecomment-86292073 already:

So it would be really cool if there was some way of populating the location buffer or quickfix buffer with the results of ags.

I could imagine having a separate command for that and/or an action from the result window to trigger it.

gabesoft commented 8 years ago

Yea, that sounds like it could be useful for certain cases. I'll think about it when I have some time.

esaulnier commented 8 years ago

Regarding edit mode of search results (Great!), I ran into a use case where I needed to delete all occurrences of a resource used across multiple files. I added empty lines to hack vim-ags... but PR reviewers don't like empty lines! :) Great work BTW.

eelkeh commented 7 years ago

Populating the quickfix list would be very helpful!