By default, popwin pops up a window in the current frame only. This is fine, but if I have a multi-monitor setup, I want the secondary monitor to have these secondary buffers (e.g. test or grep output, magit).
Using display-buffer-alist
, I can activate popwin only when the
buffer isn’t already there. I hope this doesn’t break other stuff!
(setq display-buffer-alist