dkprice / vim-easygrep

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

quick fix window does not appear on consequent search #84

Closed noscript closed 3 years ago

noscript commented 5 years ago

On the first :Grep I get list of results. After I close quickfix and do search again, quickfix window does not reopen, unless I call copen myself.

The problem is that after closing the quickfix window, its buffer becomes unlisted. The internal EasyGrep#IsListOpen() will check for all buffers, including unlisted ones, and so it will not call copen considering quickfix is visible.

P.S. probably it makes sense to rename all Is...Open functions to Is...Visible to remove the confusion.