I just read Mickey’s wonderful article on window management, and has given me the push I need to take control over my emacs windows/frames. I have an idea of what I will configure; maximum of two windows per frame, and if is my portrait frame split horizontally and split vertically for my landscape frame, plus some additional config for Magit. Before I take the plunge, I wanted to quickly reach out to see what other people have done for their configs to get some ideas. Figure might also be good to collect a few different configurations of window configs for people interested.
Some configs I have found on the way and will update with any suggestions people have:
- Karthink’s config, good integration with the popper package
- emacs-pure - has some display-buffer-alist settings for magit which are of interest to me, as the built in magit methods for handling new frames isn’t exactly what I want.
Any recommendations, please feel free to share them.
I never took care of setting this aspect of emacs properly. Thanks a ton
Mine is just the default
nil
. I don’t use any of the packages. But I prefer magit to be fullscreen and to restore back to where I was on quit:(setq magit-display-buffer-function 'magit-display-buffer-fullframe-status-topleft-v1) (setq magit-bury-buffer-function 'magit-restore-window-configuration)
I tried Magit full-screen but It wasnt restoring my previous windows. I didn’t know about the bury buffer function so this helps me out a lot. Thanks!