emacs: show compilation/shell buffers in a dedicated bottom window
Alan Pearce alan@alanpearce.eu
Wed, 22 May 2024 18:25:32 +0200
1 files changed, 6 insertions(+), 1 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -133,7 +133,12 @@ (add-to-list 'default-frame-alist '(height . 40)) (setq-default display-line-numbers 'relative display-line-numbers-widen t display-line-numbers-width 4) -(setq frame-resize-pixelwise t) +(setq frame-resize-pixelwise t + window-resize-pixelwise t + window-min-height 20 + display-buffer-alist `(("\\*\\(?:shell\\|compilation\\)\\*" display-buffer-in-side-window + (side . bottom) (slot . 0) (preserve-size . (nil . t)) + (no-other-window . t) (no-delete-other-windows . t)))) (defun noct-relative () "Show relative line numbers."