diff options
author | Alan Pearce | 2024-05-22 18:25:32 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-22 18:25:32 +0200 |
commit | 19e9c7b8c8166cdab90e48a72319d2e87d7a258a (patch) | |
tree | a688e6c8c1f25bdf0692be2cb97b4b535ad5e679 /user | |
parent | c25b570e33456318f7e0454766a046abc843b75d (diff) | |
download | nixfiles-19e9c7b8c8166cdab90e48a72319d2e87d7a258a.tar.lz nixfiles-19e9c7b8c8166cdab90e48a72319d2e87d7a258a.tar.zst nixfiles-19e9c7b8c8166cdab90e48a72319d2e87d7a258a.zip |
emacs: show compilation/shell buffers in a dedicated bottom window
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index ad5f8cbd..a7906be9 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -133,7 +133,12 @@ (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." |