0

For my vim plugin I try to catch an event when quickfix window is closed. I did it with BufWinLeave event. But it does not work when I have quickfix open on multiple tabs, because of 'Not when it's still visible in another window.' from BufWinLeave documentations. But I did not find any other event, that can tell me that some random window is closed. Do you such event or how to do that?

  • Why do you have the same quickfix buffer open in multiple windows? You can use loclists instead of quickfix lists if you need multiple windows. – Sato Katsura Oct 25 '15 at 8:47
  • It it not my plugin exactly that loads results to a window, my plugin is related to the window control (open, close) and it happens that the quickfix window is open in different tabs, where I need an event that a window is closed. – Yuki Oct 25 '15 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.