Idiomdrottning’s homepage

How to put an end to Magit and its wonderful popups

16:35 <snan> Can magit just please stop popping up and leave my window setup alone
16:35 <atw> once you pop, you can’t stop
16:35 <contrapunctus> snan: what kinda popups? 🤔
16:36 <contrapunctus> snan: the Transients are supposed to be the defining features of its UI, although it has a functional interface too which could be bound to whatever you like 🤔

That’s right.

Time to annihilate.

(defun magit-display-buffer-same-window (buffer)
  "Display BUFFER in the selected window like God intended."
  (display-buffer
   buffer '(display-buffer-same-window)))

(setq magit-display-buffer-function 'magit-display-buffer-same-window)
(setq magit-popup-display-buffer-action '((display-buffer-same-window)))

Update

Talking to the Magit peeps re this they said that I was on an obsolete version and I guess I am. I need to get the newer one and see if that’s fine.