ack.vim
ack.vim copied to clipboard
avoid "ShowResults" calls unnecessarily
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?
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)