I’d like magit-status to open full frame, ie a single window. When I hit q to exit, I’d like my previous window configuration to be restored.

What’s the best way to do this? Setting the follow var causes it to open full frame, but removes all windows except for one upon exit:

 (setq magit-display-buffer-function
  #'magit-display-buffer-fullframe-status-v1)

I can get to my previous window layout with winner-undo, but I’d like q to do the right thing in this case.

Any thoughts?

  • jvillasante@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I just like to have a clean ibuffer :)

    After done with magit I want all magit buffers killed so that I can have a clean buffer list.

    • unduly-noted@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Makes sense. I tried to keep my buffer list clean at first, but kinda gave up cause so many things in emacs create buffers