0

Starting from this window configuration of 5 windows split like this

enter image description here

How do I create a sixth window that would take all the bottom space like the outline in red? enter image description here

1 Answer 1

0

split-root-window-below with a size argument almost does this, only that it scales the existing windows differently than you want.

This function gives the exact behavior in the picture:

(defun my-split-root-window-below ()
  (interactive)
  (split-root-window-below (/ (frame-height) -4))
  (window-resize
   (window-in-direction 'above)
   (- (/ (frame-height) 2)
      (/ (- (frame-height)
            (/ (frame-height) 4))
         2))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.