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:
parent
1e262aef13
commit
2d6b40088e
6
init.el
6
init.el
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue