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

Using --before and --after Context option with Ag and Show Results in tab/buffer #148

Closed cricrazy closed 8 years ago

cricrazy commented 8 years ago

:Ag -i --after 4 --before 4 pattern /search/path/

  • Is there also a way to show the results in a buffer or a tabpage, rather than quickfix window? I added this in my vimrc but it still shows the results in quickfix window.

let g:ag_lhandler="topleft lopen"

Thanks.

cricrazy commented 8 years ago