Delete shell buffers windows on `delete-other-windows`

More often, I want the shell buffer to be gone when calling
`delete-other-windows` than not, so let's make this the default.
This commit is contained in:
dbo 2023-04-28 16:32:53 +02:00
parent 1e262aef13
commit 2d6b40088e
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 2 additions and 4 deletions

View File

@ -547,16 +547,14 @@
(side . bottom)
(slot . -1)
(window-height . 0.33)
(window-parameters . ((no-other-window . t)
(no-delete-other-windows . t)))))
(window-parameters . ((no-other-window . t)))))
(add-to-list 'display-buffer-alist
'("^\\*shell\\*"
display-buffer-in-side-window
(side . bottom)
(slot . 1)
(window-height . 0.33)
(window-parameters . ((no-other-window . t)
(no-delete-other-windows . t)))))))
(window-parameters . ((no-other-window . t)))))))
(use-package winner
:commands (winner-mode winner-undo winner-redo))