dkprice / vim-easygrep

Fast and Easy Find and Replace Across Multiple Files
The Unlicense
325 stars 47 forks source link

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

Open synic opened 7 years ago

synic commented 7 years ago

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.