Re:Show HN: Tag – instantly jump to your ag matches
by johncoltrane on Monday June 13, 2016 @03:48AM
(#11892249)
No, the way to go is to set the `grepprg` option.
Re:Show HN: Tag – instantly jump to your ag matches
by akavel on Monday June 13, 2016 @09:29AM
(#11893652)
And in case you need more flexibility juggling one-off calls to various similar tools, try:
:cex system('grep_or_ag_or_whatever -flags pattern') | copen
With proper ':set errorformat=...', you can call your compiler with this, or 'go test', or much more various stuff (even Go panic stacktraces).
> Inside vim, vim-grepper or ag.vim is probably the way to go. Outside vim (or inside a Neovim :terminal), tag is your best friend.