this post was submitted on 17 Oct 2023
3 points (100.0% liked)

Emacs

313 readers
3 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] skyler544@alien.top 1 points 1 year ago
(add-to-list 'display-buffer-alist
             '("\\*sly-mrepl"
               (display-buffer-at-bottom)
               (window-height . 12)))
(add-to-list 'display-buffer-alist
             '("\\*Calendar*"
               (display-buffer-at-bottom)))
(add-to-list 'display-buffer-alist
             '("\\*shell:"
               (display-buffer-below-selected)
               (window-height . 12)))
(add-to-list 'display-buffer-alist
             '("\\magit:"
               (display-buffer-same-window)))
(add-to-list 'display-buffer-alist
             '("\\*Man"
               (display-buffer-same-window)))
(add-to-list 'display-buffer-alist
             '("\\*Help"
               (display-buffer-same-window)))
(add-to-list 'display-buffer-alist
             '("\\*helpful"
               (display-buffer-same-window)))