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

Maybe to add a real time preview is a good idea. #142

Closed gngshn closed 10 months ago

gngshn commented 8 years ago

I add this two line to get it.

      exe 'nnoremap <silent> <buffer> j j<CR>:' . l:matches_window_prefix . 'open<CR>'
      exe 'nnoremap <silent> <buffer> k k<CR>:' . l:matches_window_prefix . 'open<CR>'

I suggest ag.vim adding a option to judge whether to use real time preview or not.