5 ms·
Not much. A horizontal split (C-x 2) can be quite useful to keep the top of a file in view while editing around at the bottom of a file. A vertical split (C-x 3
by grumbel 2y ago
Not much. A horizontal split (C-x 2) can be quite useful to keep the top of a file in view while editing around at the bottom of a file. A vertical split (C-x 3) is useful when comparing files side by side. But that's about as far as I go, beyond that it just becomes annoying, as popups like from magit will show up in random subwindows, often rendering them unusable, due to that subwindow not being big enough.
- signa11 2y agoperhaps i might interest you in display-buffer-alist ? useful resources: 1. https://protesilaos.com/codelog/2024-02-08-emacs-window-rules-display-buffer-alist/ https://protesilaos.com/codelog/2024-02-08-emacs-window-rule... 2. https://www.masteringemacs.org/article/demystifying-emacs-window-manager https://www.masteringemacs.org/article/demystifying-emacs-wi... 3. <this space is for rent>
- skydhash 2y ago3. https://karthinks.com/software/emacs-window-management-almanac/ https://karthinks.com/software/emacs-window-management-alman... (Additional useful knowledge)
- geokon 2y agoLooks incredibly complicated, or maybe the article isn't written very clearly. It sounds like the packages are doing their own layout and you can override it from a central location .. Sometimes
- signa11 1y ago> ... Looks incredibly complicated you are not alone ! even the info-page has this: https://www.gnu.org/software/emacs/manual/html_node/elisp/The-Zen-of-Buffer-Display.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Th...
- kreetx 2y agoAs a counterpoint, I pretty much always split into 2+ windows. A 2-window setup is a code + terminal setup with shortcuts to run commands on the terminal(s). On more complex projects there are typically more than one terminal windows. My org-mode emacs instance for note taking is split into quite a few windows: ongoing work task(s), generic "today's scratch pad", various topical notes files, etc. On the posted topic: I don't know whether the transposition would be useful for me though - as the layout is set up by screen orientation then only a 180 degree turn would make sense.
- SoftTalker 2y agoSeems like this new feature might help with that, if magit takes over or creates a new window, you can rotate or flip your window arrangement until it's in a usable space (if it works like most tiling window managers, which isn't entirely clear from TFA).