There is already a ag plugin for vim that will jump you to the matches.
See: https://github.com/rking/ag.vim
or see: http://codeinthehole.com/writing/using-the-silver-searcher-w...
See: https://github.com/rking/ag.vim
or see: http://codeinthehole.com/writing/using-the-silver-searcher-w...
> 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.
: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).