💾 Archived View for idiomdrottning.org › magit-transients captured on 2023-07-10 at 14:01:50. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

-=-=-=-=-=-=-

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)