ack.vim icon indicating copy to clipboard operation
ack.vim copied to clipboard

avoid "ShowResults" calls unnecessarily

Open drgarcia1986 opened this issue 9 years ago • 1 comments

I'm using ack.vim with vim-dispatch integration but in every search a new panel is created unnecessarily. This little change solved this problem for me. Am I missing something?

drgarcia1986 avatar Nov 02 '16 19:11 drgarcia1986

I took a better look at the code of SearchWithDispatch and now I understand how that's works. This command change the makeprog to use ack and call Make command (from vim-dispatch) right? This way will work as a simple vim-dispatch command, for this reason, don't need to create a new panel :smile:

(ps: I'm using tmux)

drgarcia1986 avatar Nov 02 '16 23:11 drgarcia1986