dkprice/vim-easygrep

Option to close quickfix window automatically after choosing a line (manually)

synic opened this issue · 0 comments

synic commented

Like syntastic, ag.vim, etc, when you choose an item from the result window, it would be nice if there was an option to automatically close the window.

Obviously this would conflict with automatically jumping to the first result, so it would have to only close if you press enter or something in the quickfix window.

Is there a way to do this already? Where would I look if I wanted to implement it myself? I know I can use autocmd to create a mapping myself, but I don't want it to be global, just for easygrep.