Re:Show HN: Tag – instantly jump to your ag matches
by aykamko on Monday June 13, 2016 @01:38AM
(#11891901)
Yes, you're right! I mention this in my README:
> 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.
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).
Re:Show HN: Tag – instantly jump to your ag matches
by RBerenguel on Monday June 13, 2016 @08:18AM
(#11893105)
And helm (the... well, not sure what's the actual name of what helm does, it's an emacs plugin) has an ag plugin so you can search and jump to matches
See: https://github.com/rking/ag.vim
or see: http://codeinthehole.com/writing/using-the-silver-searcher-w...